Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Modern Object-Oriented JavaScript

via CodeSignal

Overview

Model domain entities with confidence using modern class features. This course explores the prototype model beneath classes, then layers on private fields, static members, getters/setters, inheritance with `super`, custom error subclasses, `instanceof`, and `WeakMap`-based privacy as an alternative. You'll learn when to choose each tool and how to keep class designs robust.

Syllabus

Understanding JavaScript Classes

  • Modernize the Blueprint
  • Refining the Blueprint
  • Build Your Own Shape Blueprint
  • Mastering the Stack Blueprint

Privacy and Static Members

  • Guarding the Internal State
  • Tracking every object created
  • Protect and Track Your Objects
  • Build a Secure Account System

Inheritance With Super

  • Connecting the Blueprints
  • Repairing the Inheritance Chain
  • Building on Existing Logic
  • Mastering the Class Chain

Custom Error Classes

  • Beyond Standard Errors
  • Handling Errors Like a Pro
  • Building a Safety Net
  • Build a Targeted Error System

Advanced Composition and Metadata

  • Keep Your Objects Clean
  • Refining Advanced Class Patterns
  • Mixing Things Up
  • Mastering Object Privacy

Reviews

Start your review of Modern Object-Oriented JavaScript

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.