2. Custom JS objects

Scripting

Extensions modules

Having a deeper knowledge of how JavaScript objects work is useful as you build confidence with web development, start to build more complex apps, and create your own libraries.

Learning outcomes:

  • Object prototypes.

  • JavaScript class syntax.

  • Defining a constructor.

  • Defining properties and methods.

  • Defining static properties and methods.

Resources:

Previous: 1. Transform & animate CSSNext: 3. Web APIs