comments on function javascript 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
*/