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 <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
Sebastien-Ahkrin authored and MylesBorins committed Dec 17, 2019
1 parent 559284b commit 698e0a2
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 698e0a2

Please sign in to comment.