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 1
Symbols and Advanced Property Mechanics
1
Symbols as Unique Object Keys
Create and use symbols as unique, non-enumerable property keys.
2
Symbol-Based Private Properties in Closures
Implement private-like properties using symbols within closures.
3
Customizing Type Coercion with Symbol.toPrimitive
Customize type coercion behavior for an object using Symbol.toPrimitive.
4
Customizing `toString()` with `Symbol.toStringTag`
Modify the output of Object.prototype.toString() for custom classes using Symbol.toStringTag.
5
Symbol.species for Subclassing Control
Control derived object construction in subclassing using Symbol.species.
6
Symbol.hasInstance for Custom instanceof Behavior
Customize the behavior of the 'instanceof' operator for a class using Symbol.hasInstance.
7
Object.getOwnPropertySymbols() Explained
Retrieve all property symbols from an object using Object.getOwnPropertySymbols().
8
Custom Pattern Matching with Symbol.match
Implement a custom pattern matching function using Symbol.match.
Previous module
Next module
Iteration Protocols and Generator Functions