Skip to content

Refactor util._extend to Object.assign #4838

@benjamingr

Description

@benjamingr

Hey, I figured we can change util._extend to Object.assign in various places and replace util._extend itself with Object.assign.

As this is a small (but breaking) change for edge cases I figured I'd bring it up for discussion first.

The only difference is that assign copies symbols as well - I don't think it'll cause any issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateIssues and PRs that are duplicates of other issues or PRs.utilIssues and PRs related to the built-in util module.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions