Computer Science, asked by Tejas3132, 5 months ago

4. How do we write comments in Javacsript?​

Answers

Answered by shobi86
0

Answer:

Single-line comments are used to comment a part of a line or a full line of code in JavaScript. You can use it for either explaining the code or debugging (commenting out to prevent the execution by the browser). For a single-line comment, you have to write two forward slashes: // .

Similar questions