mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
1c530e89ed
There is no need to get this property twice in this rather hot spot: if there is no such key, the `typeUrl` will be `undefined`, which suffices for the boolean check in the next line. For consistency, `undefined` can also be made the default value. PR-URL: https://github.com/nodejs/node/pull/20387 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> |
||
---|---|---|
.. | ||
bootstrap | ||
configure.d | ||
doc | ||
eslint-rules | ||
gyp | ||
icu | ||
macos-installer | ||
msvs | ||
node_modules | ||
pkgsrc | ||
remark-cli | ||
remark-preset-lint-node | ||
rpm | ||
.eslintrc.yaml | ||
certdata.txt | ||
check_macros.py | ||
check-imports.py | ||
compress_json.py | ||
cpplint.py | ||
create_android_makefiles | ||
create_expfile.sh | ||
dcheck_macros.py | ||
genv8constants.py | ||
getmoduleversion.py | ||
getnodeversion.py | ||
gyp_node.py | ||
install.py | ||
js2c.py | ||
license2rtf.js | ||
license-builder.sh | ||
lint-js.js | ||
lsan_suppressions.txt | ||
macosx-firewall.sh | ||
make-v8.sh | ||
Makefile | ||
mk-ca-bundle.pl | ||
mkssldef.py | ||
nodcheck_macros.py | ||
osx-codesign.sh | ||
osx-pkg-postinstall.sh | ||
osx-productsign.sh | ||
release.sh | ||
run-valgrind.py | ||
sign.bat | ||
specialize_node_d.py | ||
test-npm-package.js | ||
test-v8.bat | ||
test.py | ||
update-authors.sh | ||
update-babel-eslint.sh | ||
update-eslint.sh | ||
utils.py |