+ 1
How to Commet in javascript?
5 Antworten
+ 5
This type of commenting is similar in multiple languages.
+ 3
JavaScript comments
1: single line
// let x = 5;
// will tell compiler to ignore this line
2: multi line
/*
let x = 5;
let y = 10;
*/
Anything between /* and */ will be ignored
+ 2
//
+ 1
And
/* comment here */
0
Thanks calvin