1.
How do you write a single-line comment in JavaScript?
2.
Which of the following will be ignored by the JavaScript interpreter?
3.
What will be the output of console.log("Hello World!"); // This is a comment?
4.
What is the purpose of single-line comments in code?
5.
Which of the following is a valid single-line comment in JavaScript?
6.
Can single-line comments be used to disable code temporarily?
7.
What happens if you place a single-line comment within a string in JavaScript?
8.
How do you add a note to explain a line of code in JavaScript?
9.
Which of the following is true about single-line comments in JavaScript?
10.
Why should comments be clear and concise?