Objects, this and Classes Quiz
Interactive Quiz ⋅ 12 Questions
By Stephen Gruppetta
In this quiz, you’ll test your understanding of Objects, this and Classes.
By working through this quiz, you’ll revisit how a call decides this, what strict
mode changes, bound functions and arrow functions, what a class shares between its
instances, how property lookups follow the prototype chain, the order in which fields
and the constructor run, private fields, and assigning to a getter.
Most questions show a short program and ask what it prints when you run it in JavaScript. Good luck!
The quiz contains 12 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!
Related Resources
Course
Objects, this and Classes
Learn to give objects methods, predict what this refers to in any call, and build classes that guard their data with private fields, getters, and setters. Build Mei's houseplant tracker.