MCQ
Which of these correctly writes a comment in JavaScript?
Unit-3 Programming Fundamentals
A <!-- comment -->
B // comment
C <comment>
D # comment
Explanation

In JavaScript, // starts a single-line comment.