summaryrefslogtreecommitdiff
path: root/tools/genv8constants.py
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-11-24 00:39:32 +0200
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-11-26 01:31:49 +0200
commitf2432a47616979780e7ca76a935e5f05c4ee31b5 (patch)
tree4babdd8395edf0d01a4d5637968d808232ed8e88 /tools/genv8constants.py
parent14707b681da02ef290a986f7613797a3c7ec1ad5 (diff)
downloadandroid-node-v8-f2432a47616979780e7ca76a935e5f05c4ee31b5.tar.gz
android-node-v8-f2432a47616979780e7ca76a935e5f05c4ee31b5.tar.bz2
android-node-v8-f2432a47616979780e7ca76a935e5f05c4ee31b5.zip
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/genv8constants.py')
0 files changed, 0 insertions, 0 deletions