Q. Which symbol is used to denote comments in JavaScript?

  • (A) //
  • (B) ##
  • (C) <!--
  • (D) **
πŸ’¬ Discuss
βœ… Correct Answer: (A) //
Explanation: Single-line comments in JavaScript start with //.
Explanation by: Mr. Dubey
Single-line comments in JavaScript start with //.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
105
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
93%
Success Rate