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

Replace "shallowClone" util function with Object.assign calls

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • next
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      shallowClone can be accomplished with native Object.assign({}, x), and that is an understood idiom. We should get rid of the unnecessary util function in our code.

            Assignee:
            katherine.walker@mongodb.com Katherine Walker (Inactive)
            Reporter:
            daniel.aprahamian@mongodb.com Daniel Aprahamian (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: