Objects, Prototypes & Classes Quizzes

How JavaScript objects really work - the prototype chain, classes and inheritance, getters and setters, JSON, and the safe-access operators ?. and ??.

Intermediate 5 quizzes · 50 questions about 30 minutes
0/5passed Category exam 20 mixed questions. 80% earns a certificate.
Tags:
1 Prototypes Hard Follow the prototype chain to see where JavaScript finds a property and what happens when you write to one. #prototypes#oop 10 questions · ~8 min Not started Start
2 Classes & Inheritance Medium Practice JavaScript classes, extends, super and the rules about this inside methods. #classes#oop 10 questions · ~6 min Not started Start
3 Getters, Setters & static Medium Computed properties with get and set, plus static fields and methods that belong to the class itself. #classes#getters-setters 10 questions · ~6 min Not started Start
4 JSON Easy Turn objects into JSON text and back, and learn what gets lost on the way. #json#serialization 10 questions · ~5 min Not started Start
5 Optional Chaining & ?? Easy Read nested values safely with ?. and pick defaults with ?? without losing 0 or empty strings. #operators#modern-js 10 questions · ~5 min Not started Start