Details
-
Improvement
-
Resolution: Done
-
Minor - P4
-
None
-
*Location*: http://docs.mongodb.org/manual/core/shell-types/
*User-Agent*: Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0
*Screen Resolution*: 2560 x 1440
*repo*: docs
*source*: core/shell-types
Description
Stop referring to ISODate as a type! ISODate is just a wrapper around new Date(...) that takes a sane argument. We use the normal built-in javascript Date type.
> new Date() instanceof Date
|
true
|
> new Date() instanceof ISODate
|
false
|