← 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?
- A."class"
- B."object"
- C."function"
- 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 →