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

refactor: Use Math.floor to round down

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • bson-4.5.4
    • Affects Version/s: None
    • Component/s: None
    • Not Needed

      https://github.com/mongodb/js-bson/pull/406

      This commit replaces the ~~ operation with Math.floor, which is more consistent across the js-bson codebase, and arguably more readable too.

            Assignee:
            Unassigned Unassigned
            Reporter:
            alexander.golin@mongodb.com Alexander Golin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: