Skip to content

Commit 698e0a2

Browse files
Sebastien-AhkrinMylesBorins
authored andcommitted
lib: add TypedArray constructors to primordials
PR-URL: #30740 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 559284b commit 698e0a2

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

lib/internal/per_context/primordials.js

+11
Original file line numberDiff line numberDiff line change
@@ -104,17 +104,28 @@ primordials.SafePromise = makeSafe(
104104
'Array',
105105
'ArrayBuffer',
106106
'BigInt',
107+
'BigInt64Array',
108+
'BigUint64Array',
107109
'Boolean',
108110
'Date',
109111
'Error',
112+
'Float32Array',
113+
'Float64Array',
110114
'Function',
115+
'Int16Array',
116+
'Int32Array',
117+
'Int8Array',
111118
'Map',
112119
'Number',
113120
'Object',
114121
'RegExp',
115122
'Set',
116123
'String',
117124
'Symbol',
125+
'Uint16Array',
126+
'Uint32Array',
127+
'Uint8Array',
128+
'Uint8ClampedArray',
118129
'WeakMap',
119130
'WeakSet',
120131
].forEach((name) => {

0 commit comments

Comments
 (0)