-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: JavaScript
-
None
-
Fully Compatible
-
ALL
-
Platform A (10/09/15), Build B (10/30/15)
Cannot be singled out, or tested:
//can't use typeof >typeof MinKey object //not === comparable (should make singleton?) > db.max.findOne()._id { "$maxKey" : 1 } > db.max.findOne()._id === MaxKey // no instanceof support... > "a" instanceof MinKey Fri Jan 18 18:07:21.863 javascript execution failed (shell):1 TypeError: Expecting a function in instanceof check, but got a "a" instanceof MinKey
- is related to
-
SERVER-2667 Cannot compare different instances of ObjectIds with same value
- Closed