Skip to main content
deleted 4 characters in body
Source Link
Dino
  • 8.4k
  • 13
  • 50
  • 93

We can also validate it by below code

we can also validate it by below code var a = new Date(); a.constructor === Date /* true */ 

enter image description here

we can also validate it by below code var a = new Date(); a.constructor === Date /* true */ 

enter image description here

We can also validate it by below code

var a = new Date(); a.constructor === Date /* true */ 

enter image description here

Source Link
Arun
  • 460
  • 3
  • 8

we can also validate it by below code var a = new Date(); a.constructor === Date /* true */ 

enter image description here