Loading…
Loading…
Twenty-five questions on prototypes and constructor functions, the prototype and constructor properties, instanceof, class syntax, fields, static members, private #fields, getters and setters, extends and super, custom errors, mixins and composition.
Review quiz for Part 9 (Classes) of the JavaScript course, articles 70 to 73: from JavaScript Prototypes and Constructor Functions: How Classes Work Underneath to Composition over Inheritance in JavaScript: Delegation, Mixins and Abstract Classes.
Most questions show a short program and ask what it prints. Every answer was confirmed by running the code on Node.js. Aim for at least 18 out of 25 before starting Part 10.
Quiz path: step 8 of 20. Take the quizzes in this order, after reading the articles they cover.
Previous quiz: Functions Review (JavaScript Part 8)
Next quiz: Modules Review (JavaScript Part 10)
25 questions · pass at 68%
Check your understanding; you see the answers and explanations after submitting.
Discussion
Sign in to ask a question or share what you learned.