Blog posts filed under “Classes”
- Detect if a function was invoked as a constructor in JavaScript
- JavaScript: Private instance members in 2022
- Class-based access privileges
- Extending constructors in JavaScript
- Encapsulation in object-oriented JavaScript (OOJS)
- Primary constructors in C# 12
- Using the ‘this’ keyword to call a constructor in Java