alert comment js code example
Example 1: comment in javascript
// single line comment
/* multiline comemnt
line 2
line 3
line 4 */
Example 2: js comment
//This does not effect the code.
var something = "But this does effect the code!";
// single line comment
/* multiline comemnt
line 2
line 3
line 4 */
//This does not effect the code.
var something = "But this does effect the code!";