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() {
203203
204204 // 25 Structured Data
205205 ArrayBufferPrototype , // 25.1
206- SharedArrayBuffer . prototype , // 25.2
207206 DataViewPrototype , // 25.3
208207
209208 // 26 Managing Memory
@@ -309,7 +308,6 @@ module.exports = function() {
309308
310309 // 25 Structured Data
311310 ArrayBuffer , // 25.1
312- SharedArrayBuffer , // 25.2
313311 DataView , // 25.3
314312 Atomics , // 25.4
315313 // eslint-disable-next-line node-core/prefer-primordials
@@ -354,6 +352,11 @@ module.exports = function() {
354352 WebAssembly ,
355353 ] ;
356354
355+ if ( typeof SharedArrayBuffer !== 'undefined' ) { // 25.2
356+ ArrayPrototypePush ( intrinsicPrototypes , SharedArrayBuffer . prototype ) ;
357+ ArrayPrototypePush ( intrinsics , SharedArrayBuffer ) ;
358+ }
359+
357360 if ( typeof Intl !== 'undefined' ) {
358361 ArrayPrototypePush ( intrinsicPrototypes ,
359362 Intl . Collator . prototype ,
You can’t perform that action at this time.
0 commit comments