JS Comments
Javascript comments fulfill the same purpose with HTML and CSS comments. We write comments only to document our code, so if another member of our team has to read our code, in order to go further, doesn't have to spend much time understanding it. The comments agains are not going to be executed, and they will be ignored during execution phase. There are 2 ways for writing a JS comment:
a) A Single line comment: // This is a comment
b) A multi line comment:
/*
See picture above for that,
this is multi-line comment,
got it?
*/