[SERVER-1402] NumberLong(1) should work Created: 12/Jul/10  Updated: 12/Jul/16  Resolved: 22/Apr/14

Status: Closed
Project: Core Server
Component/s: JavaScript
Affects Version/s: 1.6.5
Fix Version/s: 1.8.5

Type: Improvement Priority: Minor - P4
Reporter: Mathias Stearn Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

Or it should assert. Currently it just fails silently

> printjson(NumberLong(1))
undefined
> printjson(new NumberLong(1))
NumberLong( 1 )


Generated at Thu Feb 08 02:56:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.