What are the comments in JS?
Single Line comment (// comment goes here)
Anything written after “//” pair of forward slash symbol is treated as single line comment
var a=10; // variable a is created
Multiline comment (/* comment goes here */):
Anything is written in between /*forward slash star sign and */ star forward slash sign is treated as multiline comments.
/* comments are write here */