js comment code example

Example 1: javascript comment

//This is a javascript single line comment

/*
And here is a
multiline comment
*/

Example 2: comment in javascript

// single line comment 

/* multiline comemnt 
line 2
line 3
line 4 */

Example 3: javascript comment

// Javascript comment single line
/* Javascript comment 
	multiline */

/* CSS comment 
	any line */

<!-- HTML comment
 	any line -->

Example 4: how to comment in javascript

/* this is a javascript comment
that is multi lines */
// This is a single line comment

Example 5: js comment

//This does not effect the code.
var something = "But this does effect the code!";

Tags:

Misc Example