Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

typeof date

// use instanceof to determine the "type of" Date object
if (dateObj instanceof Date) {}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #typeof #date
ADD COMMENT
Topic
Name
9+1 =