mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
v8: use of TypedArray constructors from primordials
PR-URL: https://github.com/nodejs/node/pull/30740 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
e9f2d7cff7
commit
c88ace4fc3
10
lib/v8.js
10
lib/v8.js
@ -16,8 +16,18 @@
|
|||||||
|
|
||||||
const {
|
const {
|
||||||
Array,
|
Array,
|
||||||
|
ArrayBuffer,
|
||||||
|
Float32Array,
|
||||||
|
Float64Array,
|
||||||
|
Int16Array,
|
||||||
|
Int32Array,
|
||||||
|
Int8Array,
|
||||||
ObjectPrototypeToString,
|
ObjectPrototypeToString,
|
||||||
Symbol,
|
Symbol,
|
||||||
|
Uint16Array,
|
||||||
|
Uint32Array,
|
||||||
|
Uint8Array,
|
||||||
|
Uint8ClampedArray,
|
||||||
} = primordials;
|
} = primordials;
|
||||||
|
|
||||||
const { Buffer } = require('buffer');
|
const { Buffer } = require('buffer');
|
||||||
|
Loading…
Reference in New Issue
Block a user