
- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How do we use multi-line comments in JavaScript?
The following is a multi line comment in JavaScript.
/* * This is a multiline comment in JavaScript * It is very similar to comments in C Programming */
Example
The following example shows how to use multi-line comments in JavaScript.
<script> <!-- /* * This is a multiline comment in JavaScript * It is very similar to comments in C Programming */ //--> </script>
- Related Questions & Answers
- How do we use single line comments in JavaScript?
- Java multi-line comments
- How to write multi-line comments in C#?
- How do we write Multi-Line Statements in Python?
- What is the difference between single-line and multi-line comments in JavaScript?
- How do we use multi-dimensional arrays in C#?
- How to put multi-line comments inside a Python dict()?
- How do we provide comments in Python?
- How do we use a #line directive in C#?
- How do we create multiline comments in Python?
- How do we use throw statement in JavaScript?
- Java single line comments.
- How to use comments to prevent JavaScript Execution?
- Why do we use jQuery over JavaScript?
- Why do we use "use strict" in JavaScript?
Advertisements