Skip to main content
grasp.study
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Advanced JavaScript concepts: Error
·
Module 5
Advanced OOP: Classes and Encapsulation
1
ES6 Classes vs. Prototype Inheritance
Contrast ES6 class syntax with the traditional prototype-based inheritance chain.
2
Inheritance with `extends` and `super()`
Implement class inheritance using 'extends' and correctly call parent constructors with 'super()'.
3
Static Members in Classes
Define static methods and properties that belong to the class itself, not instances.
4
Encapsulation with Private Class Fields
Achieve true encapsulation using private class fields with the '#' syntax.
5
Implementing Private Methods
Implement private methods within a class.
6
Static Initialization Blocks for Complex Setup
Define static initialization blocks to perform complex one-time setup for a class.
7
Dynamic Class Members and Computed Method Names
Create computed method names and dynamic class members.
8
Extending Built-in Classes
Extend built-in classes like Array or Error to create specialized versions.
Previous module
Metaprogramming with Proxies and Reflect
Next module
Compositional Patterns: Mixins and Traits