commenting js functions code example
Example 1: javascript comment
//This is a javascript single line comment
/*
And here is a
multiline comment
*/
Example 2: javascript comment
// For single line comment
/* For block of lines comment
...
...
*/