Learn JavaScript

Lesson 8 of 9 · this, Prototypes and Classes

Module 9 · this, Prototypes and Classes

Cheat Sheet: Which this, the Prototype Chain and Class Syntax on One Page

ProReading

Keep this page open while you solve the problems of this module. The first table answers the question behind most this bugs: what does this call give? The second lists every piece of class syntax with what it creates. The last two are the chain rules and the choice of shape.

Checking what this lesson needs for you…

What is inside Cheat Sheet: Which this, the Prototype Chain and Class Syntax on One Page

  1. Which this do I get?
  2. Class syntax on one table
  3. The chain in five rules
  4. Which shape for data with behaviour

Module test

Ten questions on this module. Pass at 70%, and you can take it as many times as you like.

Take the module test