pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/nodejs/node/commit/e25f2c9e91cc0fb55aede9f13f1cf435de02c260

mer-b55097560d244c08.css" /> errors: remove dead code · nodejs/node@e25f2c9 · GitHub
Skip to content

Commit e25f2c9

Browse files
BridgeARMylesBorins
authored andcommitted
errors: remove dead code
This was never falsy, since an array length can only be an integer. PR-URL: #20483 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
1 parent 1109104 commit e25f2c9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/internal/errors.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,6 @@ E('ERR_INVALID_ARG_VALUE', (name, value, reason = 'is invalid') => {
870870
}, TypeError, RangeError);
871871
E('ERR_INVALID_ARRAY_LENGTH',
872872
(name, len, actual) => {
873-
internalAssert(typeof actual === 'number', 'actual must be of type number');
874873
return `The array "${name}" (length ${actual}) must be of length ${len}.`;
875874
}, TypeError);
876875
E('ERR_INVALID_ASYNC_ID', 'Invalid %s value: %s', RangeError);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy