Which of the below statements are used to comment a line in JavaScript file?
Answer options
A
// this is a comment
B
JavaScript
C
<div>
D
<span>
Correct answer: // this is a comment
Explanation
The correct answer is: // this is a comment.
Correct answer: // this is a comment
The correct answer is: // this is a comment.
PrimerDumps has 1400+ primer questions, 2026 mocks and coding hands-on — all free.