Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSebastien Ahkrin <sebastien48criquet@gmail.com>2019-11-30 22:13:55 +0300
committerMichaël Zasso <targos@protonmail.com>2019-12-16 10:33:41 +0300
commitc88ace4fc333f938831994385208f891f6f706ea (patch)
tree5b0fe988a8f32ef175b1199086b09666480c79b3 /lib
parente9f2d7cff76607fe88e066f4f9c241abb2228952 (diff)
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/v8.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/v8.js b/lib/v8.js
index cabe96f3452..c328a3c5732 100644
--- a/lib/v8.js
+++ b/lib/v8.js
@@ -16,8 +16,18 @@
const {
Array,
+ ArrayBuffer,
+ Float32Array,
+ Float64Array,
+ Int16Array,
+ Int32Array,
+ Int8Array,
ObjectPrototypeToString,
Symbol,
+ Uint16Array,
+ Uint32Array,
+ Uint8Array,
+ Uint8ClampedArray,
} = primordials;
const { Buffer } = require('buffer');