Comments in javascript (var)
Comments won't be executed by compiler, they are used for programmer's understanding.
This is used to provide developers with a way to comment their code without it being executed.
Single Line Comment
Single line comment is used to comment a single line.
Syntax
//User Comments
Multi Line Comment
Multi line comment is used to comment more than a single line.
Syntax
/*
Line 1
Line 2
Line 3
Line 4
*/