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:
Sebastien Ahkrin 2019-11-30 20:13:55 +01:00 committed by Michaël Zasso
parent e9f2d7cff7
commit c88ace4fc3
No known key found for this signature in database
GPG Key ID: 770F7A9A5AE15600

View File

@ -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');