Comments
in JavaScript:
Very
important aspect of good programming style is to insert remarks and commentary
directly in source code, making it more readable to yourself as well as to
others. Any comments you include will be ignored by the JavaScript interpreter.
There are two types of comments, Single
line and Multiple lines comments.
Single-line comments begin with a double slash (//), causing the interpreter to ignore everything from that point to
the end of the line. Multiple line comments begins with /* and ends with */.
For example:
// JavaScript single line comment//
Multiple
line comments begins with /* and ends with */
Related Topics
Privacy Policy, Terms and Conditions, DMCA Policy and Compliant
Copyright © 2018-2023 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.