comments on js code example
Example 1: how to comment in javascript
/* this is a javascript comment
that is multi lines */
// This is a single line comment
Example 2: comment in JavaScript
// This is how you comment a single line in JavaScript
/*
This is how you comment
multiple lines in
JavaScript
*/
Example 3: comment in js
// use '//'
Example 4: comments in js
// comment sigle line