JavaScript in Depth
JS: Class. Index
By Xah Lee. Date:
2025-04-26
. Last updated:
2026-09-30
.
JavaScript. Constructor, Class
JS: Class. Index
JS: Class overview
JS: this-binding
JS: Constructor
JS: What is instance property
JS: Property key: prototype
JS: “new” operator
JS: new.target
JS: Define class (constructor)
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 (subclass)
JS: “super” keyword
JS: Define class by function
JS: Type of class object
JS: instanceof operator
JS: Property key: constructor
JS: typeof vs instanceof vs .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