Skip to content

Commit

Permalink
lib: add TypedArray constructors to primordials
Browse files Browse the repository at this point in the history
PR-URL: #30740
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
Sebastien-Ahkrin authored and BethGriggs committed Feb 6, 2020
1 parent 5ee105c commit 1092e0b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/internal/per_context/primordials.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,17 +104,28 @@ primordials.SafePromise = makeSafe(
'Array',
'ArrayBuffer',
'BigInt',
'BigInt64Array',
'BigUint64Array',
'Boolean',
'Date',
'Error',
'Float32Array',
'Float64Array',
'Function',
'Int16Array',
'Int32Array',
'Int8Array',
'Map',
'Number',
'Object',
'RegExp',
'Set',
'String',
'Symbol',
'Uint16Array',
'Uint32Array',
'Uint8Array',
'Uint8ClampedArray',
'WeakMap',
'WeakSet',
].forEach((name) => {
Expand Down

0 comments on commit 1092e0b

Please sign in to comment.