0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib/internal/util
Rich Trott a18b437e6a
util: throw if unreachable TypedArray checking code is reached
If a comparison code path that is supposed to be unreachable is reached,
throw. Add a c8 comment to ignore coverage for the line, as it
should be unreachable.

PR-URL: https://github.com/nodejs/node/pull/31737
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2020-02-13 21:04:21 +01:00
..
comparisons.js util: throw if unreachable TypedArray checking code is reached 2020-02-13 21:04:21 +01:00
debuglog.js lib: add RegExp primordials 2020-01-07 19:26:15 -08:00
inspect.js util: fix inspection of typed arrays with unusual length 2020-01-24 21:09:17 -08:00
inspector.js
types.js