Skip to content

Commit 2b0e2c2

Browse files
Sebastien-AhkrinMylesBorins
authored andcommitted
v8: use of TypedArray constructors from primordials
PR-URL: #30740 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 698e0a2 commit 2b0e2c2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

lib/v8.js

+10
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,18 @@
1616

1717
const {
1818
Array,
19+
ArrayBuffer,
20+
Float32Array,
21+
Float64Array,
22+
Int16Array,
23+
Int32Array,
24+
Int8Array,
1925
ObjectPrototypeToString,
2026
Symbol,
27+
Uint16Array,
28+
Uint32Array,
29+
Uint8Array,
30+
Uint8ClampedArray,
2131
} = primordials;
2232

2333
const { Buffer } = require('buffer');

0 commit comments

Comments
 (0)