Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-2845

Make Long class alias methods into methods rather than properties.

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • bson-4.2.1
    • Affects Version/s: bson-4.2.0
    • Component/s: BSON

      The Long class has a number of alias methods for example `mul` -> `multiply`.
      Currently they are defined like class properties `shl = Long.prototype.shiftLeft;` this makes them enumerable and so the print out in console.dir calls. We should make them into actual methods making them no longer enumerable.

            Assignee:
            neal.beeken@mongodb.com Neal Beeken
            Reporter:
            neal.beeken@mongodb.com Neal Beeken
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: