Quiz di Objects, Prototypes & Classes

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

Intermedio 5 quiz · 50 domande circa 30 minuti
0/5superati Esame di categoria 20 domande miste. Con l'80% ottieni un certificato.
Tag:
1 Prototypes Difficile Follow the prototype chain to see where JavaScript finds a property and what happens when you write to one. #prototypes#oop 10 domande · ~8 min Da iniziare Inizia
2 Classes & Inheritance Medio Practice JavaScript classes, extends, super and the rules about this inside methods. #classes#oop 10 domande · ~6 min Da iniziare Inizia
3 Getters, Setters & static Medio Computed properties with get and set, plus static fields and methods that belong to the class itself. #classes#getters-setters 10 domande · ~6 min Da iniziare Inizia
4 JSON Facile Turn objects into JSON text and back, and learn what gets lost on the way. #json#serialization 10 domande · ~5 min Da iniziare Inizia
5 Optional Chaining & ?? Facile Read nested values safely with ?. and pick defaults with ?? without losing 0 or empty strings. #operators#modern-js 10 domande · ~5 min Da iniziare Inizia