Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b00fcaf

Browse filesBrowse files
Sebastien-Ahkrintargos
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 521458a commit b00fcaf
Copy full SHA for b00fcaf

File tree

Expand file treeCollapse file tree

1 file changed

+11
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+11
-0
lines changed
Open diff view settings
Collapse file

‎lib/internal/per_context/primordials.js‎

Copy file name to clipboardExpand all lines: lib/internal/per_context/primordials.js
+11Lines changed: 11 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.