File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,6 @@ module.exports = function() {
203
203
204
204
// 25 Structured Data
205
205
ArrayBufferPrototype , // 25.1
206
- SharedArrayBuffer . prototype , // 25.2
207
206
DataViewPrototype , // 25.3
208
207
209
208
// 26 Managing Memory
@@ -309,7 +308,6 @@ module.exports = function() {
309
308
310
309
// 25 Structured Data
311
310
ArrayBuffer , // 25.1
312
- SharedArrayBuffer , // 25.2
313
311
DataView , // 25.3
314
312
Atomics , // 25.4
315
313
// eslint-disable-next-line node-core/prefer-primordials
@@ -354,6 +352,11 @@ module.exports = function() {
354
352
WebAssembly ,
355
353
] ;
356
354
355
+ if ( typeof SharedArrayBuffer !== 'undefined' ) { // 25.2
356
+ ArrayPrototypePush ( intrinsicPrototypes , SharedArrayBuffer . prototype ) ;
357
+ ArrayPrototypePush ( intrinsics , SharedArrayBuffer ) ;
358
+ }
359
+
357
360
if ( typeof Intl !== 'undefined' ) {
358
361
ArrayPrototypePush ( intrinsicPrototypes ,
359
362
Intl . Collator . prototype ,
You can’t perform that action at this time.
0 commit comments