A

Admin • 833K Points
Coach

Q. How do you write a multi-line comment in JavaScript?

  • (A) /* comment */
  • (B) // comment
  • (C) # comment
  • (D) <!-- comment -->
  • Correct Answer - Option(A)
  • Views: 20
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

JavaScript multi-line comments start with /* and end with */.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.