summaryrefslogtreecommitdiff
path: root/lib/https.js
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2018-12-18 02:28:09 +0100
committerRuben Bridgewater <ruben@bridgewater.de>2018-12-20 13:14:46 +0100
commit4b7a530f2b1a789b3feb64e3698d61b4ccc6bab5 (patch)
tree1cd8dd1d0ff4c113081502ddca54d5f9c7be8cb4 /lib/https.js
parent6f8ccef74ec514292ebf8ee65602d8c109b0aa2b (diff)
downloadandroid-node-v8-4b7a530f2b1a789b3feb64e3698d61b4ccc6bab5.tar.gz
android-node-v8-4b7a530f2b1a789b3feb64e3698d61b4ccc6bab5.tar.bz2
android-node-v8-4b7a530f2b1a789b3feb64e3698d61b4ccc6bab5.zip
lib: switch to object spread where possible
Use the object spread notation instead of using Object.assign. It is not only easier to read it is also faster as of V8 6.8. PR-URL: https://github.com/nodejs/node/pull/25104 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Yuta Hiroto <hello@hiroppy.me> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'lib/https.js')
0 files changed, 0 insertions, 0 deletions