Blog posts filed under “OOJS”
- Detect if a function was invoked as a constructor in JavaScript
- JavaScript: Private instance members in 2022
- Composition in React
- Class-based access privileges
- Three ways to check if an object has a property in JavaScript
- The .prototype property versus the [[Prototype]] internal slot in JavaScript
- Four ways to set the prototype of an object in JavaScript
- Subclassing with prototypes in JavaScript
- Extending constructors in JavaScript
- The super keyword in object literals
- An alternative to the super keyword in JavaScript