A

Admin • 833K Points
Coach

Q. Which keyword is used to define a class in JavaScript?

  • (A) class
  • (B) object
  • (C) structure
  • (D) function
  • Correct Answer - Option(A)
  • Views: 30
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

The class keyword is used to define a class in ES6+.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.