Lesson 28 of 34 · Classes & Errors
Quiz: JavaScript Classes and Errors
Classes, inheritance and errors come up constantly in real JavaScript code, and in job interviews too. Check that the key rules have stuck before you face the Clockwork Colossus.
What this quiz covers
The questions check what you learned in the Classes & Errors chapter of Learn JavaScript. Not sure about a topic? Review its lesson first:
- JavaScript Classes: Constructors, Getters and Setters
Learn JavaScript classes: constructors, methods, class fields, private #fields, and getters and setters that validate and compute values.
- JavaScript Inheritance: extends, super and static
Reuse code with JavaScript class inheritance: extends, super(), overriding methods, calling parent methods with super, and static methods and fields.
- JavaScript Error Handling: try, catch and Custom Errors
Handle JavaScript errors with try, catch and finally, throw your own errors, and create custom error classes by extending Error.
Keep learning
Need a quick reminder? The JavaScript cheat sheet has every topic of Learn JavaScript on one page.
Lesson last updated on .