JavaScript in Depth
JS: Constructor and Class
By Xah Lee. Date:
2025-04-26
. Last updated:
2026-09-30
.
JavaScript. Constructor, Class
JS: Constructor and Class
JS: this-binding
JS: Constructor
JS: Property key "prototype"
JS: “new” operator
JS: new.target
JS: Define Class
JS: Class Expression
JS: Class static fields and methods
JS: Class static block
JS: Class Private Fields and Methods
JS: Test existance of private element
JS: Class extends (subclassing)
JS: “super” keyword
JS: Define class by function
JS: Type of class object
JS: “instanceof” operator
JS: Property key "constructor"
JS: “typeof”, “instanceof”, “.constructor”
Web dev Search 🔍
HTML
CSS
JS
JS Obj Ref
JS DOM
JavaScript in Depth
Basics
Filename Extension
Run JavaScript
Comment
Print
String
Number
Operators
Assignment
Boolean
Test Equality
Conditional
Loop
Array
Object
Function
Method
In-depth
Value Types
Variable
String
Property
Object
Array
Function
Class
Iterable
Promise
Module
Try Catch Throw
Regular Expression
Misc index
ECMAScript News
Misc. Index