lib: add TypedArray constructors to 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 authored and Beth Griggs committed 2020-02-06 02:49:23 +00:00
1 parent 5ee105c9af
commit 1092e0b6fb
1 file changed
+11
+11
View File
@@ -104,10 +104,17 @@ primordials.SafePromise = makeSafe(
'Array',
'ArrayBuffer',
'BigInt',
'BigInt64Array',
'BigUint64Array',
'Boolean',
'Date',
'Error',
'Float32Array',
'Float64Array',
'Function',
'Int16Array',
'Int32Array',
'Int8Array',
'Map',
'Number',
'Object',
@@ -115,6 +122,10 @@ primordials.SafePromise = makeSafe(
'Set',
'String',
'Symbol',
'Uint16Array',
'Uint32Array',
'Uint8Array',
'Uint8ClampedArray',
'WeakMap',
'WeakSet',
].forEach((name) => {