🚀 Join 1,200+ candidates currently preparing with PrimerPrep
Essentials
Accenture Technical PrimermediumEssentialsWeb Technologies

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

Quick AnswerThe correct answer is // this is a comment because it directly addresses the core logic of Essentials.

The correct answer is: // this is a comment.

Related Accenture Essentials questions

Practice more Accenture Essentials questions

PrimerPrep has 1400+ practice questions, 2026 simulations and coding hands-on — all free.

Watch Walkthroughs!