mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
1a5f6705c6
Currently the call can lead to a TypeError with the message: `Cannot read property 'value' of undefined`. This fixes it by first checking that the first argument is truthy. PR-URL: https://github.com/nodejs/node/pull/18729 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> |
||
---|---|---|
.. | ||
alphabetize-errors.js | ||
buffer-constructor.js | ||
crypto-check.js | ||
documented-errors.js | ||
inspector-check.js | ||
lowercase-name-for-primitive.js | ||
no-let-in-for-declaration.js | ||
no-unescaped-regexp-dot.js | ||
non-ascii-character.js | ||
number-isnan.js | ||
prefer-assert-iferror.js | ||
prefer-assert-methods.js | ||
prefer-common-expectserror.js | ||
prefer-common-mustnotcall.js | ||
prefer-util-format-errors.js | ||
require-buffer.js | ||
required-modules.js | ||
rules-utils.js |