diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-11-24 01:39:32 +0300 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-11-26 02:31:49 +0300 |
commit | f2432a47616979780e7ca76a935e5f05c4ee31b5 (patch) | |
tree | 4babdd8395edf0d01a4d5637968d808232ed8e88 /tools | |
parent | 14707b681da02ef290a986f7613797a3c7ec1ad5 (diff) |
lib: simplify own keys retrieval
This replacement can save us a function call, two array spreadings,
and an array concatenation.
PR-URL: https://github.com/nodejs/node/pull/24582
Refs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/ownKeys#Description
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions