NumberLong(1) should work

XMLWordPrintableJSON

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

      Or it should assert. Currently it just fails silently

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

              Assignee:
              Unassigned
              Reporter:
              Mathias Stearn
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: