lib: replace util._extend with object.assign
Checklist
-
make -j4 test
(UNIX) orvcbuild test nosign
(Windows) passes -
the commit message follows commit guidelines
Affected core subsystem(s)
http, tls, child-process, cluster, domain, fs, https, tty
Description of change
Object.assign
is built-in and has some performance advantage-
over the polyfill.
One thing to keep an eye is that _extend
used to fail silently-
while assign
throws an error. Let me know if there are any concerns-
or if the pr
need to be split based on the components.