JS: Date (class)
What is the Keyword βDateβ
Purpose of Date is:
- To create date objects.
- Used as a namespace to hold static methods.
- Holds the property key
"prototype". Its value is the parent of all date objects.
Purpose of Date is:
"prototype". Its value is the parent of all date objects.