Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-1402

NumberLong(1) should work

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.8.5
    • Affects Version/s: 1.6.5
    • Component/s: JavaScript
    • None

      Or it should assert. Currently it just fails silently

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

            Assignee:
            Unassigned Unassigned
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: