Inheritance, Composition and JavaScript's Types Quiz

Interactive Quiz ⋅ 12 Questions
By Stephen Gruppetta

In this quiz, you’ll test your understanding of Inheritance, Composition and JavaScript’s Types.

By working through this quiz, you’ll revisit which method runs in a class family, when a design calls for is-a or has-a, the order of instanceof checks in a catch block, how symbol keys behave, what typeof reports, and converting typed text where it arrives. Most questions ask what a short snippet does in JavaScript.

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

A developer stamping a loan slip at a toy-lending machine where a toy chamber branches into building bricks and dress-up, typed tags turn into number blocks, and a teddy pops out of an error chute.

Course

Inheritance, Composition and JavaScript's Types

Learn when one class should extend another and when to build an object from parts, define your own errors, and convert typed values where they arrive. Build the Elm Street toy library's lending tracker.

intermediate js