JS: Date.prototype
JS: Date.prototype.constructor
By Xah Lee. Date:
2026-02-03
.
Date.prototype.constructor
value is
Date
console.assert
(
Date.prototype
.
constructor
===
Date
);
JS: Property key "constructor"
Webdev Search 🔍
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
JS Object Reference
ECMAScript News
Misc. Index