A

Admin • 828.03K Points
Coach

Q. How do you write a comment that spans multiple lines?

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

Explanation by: Admin
/* */ is used for multi-line comments in JavaScript.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.