We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 313b44b commit d70a0cdCopy full SHA for d70a0cd
test/parallel/test-buffer-failed-alloc-typed-arrays.js
@@ -26,7 +26,7 @@ for (const allocator of allocators) {
26
// These allocations are known to fail. If they do,
27
// Uint32Array should still produce a zeroed out result.
28
allocator(size);
29
- } catch (e) {
+ } catch {
30
assert.deepStrictEqual(new Uint32Array(10), zeroArray);
31
}
32
0 commit comments