Quizzes de Objects, Prototypes & Classes

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

Intermediário 5 quizzes · 50 perguntas cerca de 30 minutos
0/5aprovado Prova da categoria 20 perguntas variadas. Com 80% você ganha um certificado.
Tags:
1 Prototypes Difícil Follow the prototype chain to see where JavaScript finds a property and what happens when you write to one. #prototypes#oop 10 perguntas · ~8 min Não iniciado Começar
2 Classes & Inheritance Médio Practice JavaScript classes, extends, super and the rules about this inside methods. #classes#oop 10 perguntas · ~6 min Não iniciado Começar
3 Getters, Setters & static Médio Computed properties with get and set, plus static fields and methods that belong to the class itself. #classes#getters-setters 10 perguntas · ~6 min Não iniciado Começar
4 JSON Fácil Turn objects into JSON text and back, and learn what gets lost on the way. #json#serialization 10 perguntas · ~5 min Não iniciado Começar
5 Optional Chaining & ?? Fácil Read nested values safely with ?. and pick defaults with ?? without losing 0 or empty strings. #operators#modern-js 10 perguntas · ~5 min Não iniciado Começar