Why do we need a comment in javascript? 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!";