(new NumberLong(3754)==new NumberLong(3754)) evals to false

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Trivial - P5
    • None
    • Affects Version/s: 1.6.1
    • Component/s: JavaScript
    • None
    • Environment:
      Ubuntu Linux - mongo client console
    • Fully Compatible
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      > (new NumberLong(3754)==new NumberLong(3754))
      false
      >

      I ran into this issue when creating a $where function that compared numbers.

              Assignee:
              DO NOT USE - Backlog - Platform Team
              Reporter:
              Brian C. Dilley
              Votes:
              3 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: