
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
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
Difference Between Comments and Documentation in JavaScript
/*…*/ and /**…*/ are multi-line comments. 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 */
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>
The comment /** */ is for PHPDocumentator , which is used to make automatic documentation.
Advertisements