🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Classes, Modules, Map and Set: all 10 questions

Quiz: Classes, Modules, Map and Set · Question 10 of 10

What is typeof a class in JavaScript?

What is typeof a class in JavaScript?

  1. A."class"
  2. B."object"
  3. C."function"
  4. D."prototype"
Answer & explanation

Correct answer: "function"

Classes are special syntax over constructor functions and prototypes.

Can you get the rest right without peeking?

Take the timed Quiz: Classes, Modules, Map and Set quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →