Disable Atomics
MODIFY
shim/src/intrinsics.js
shim/src/intrinsics.js
@@ -92,7 +92,7 @@ export function getIntrinsics(sandbox) {
// %AsyncIteratorPrototype%
AsyncIteratorPrototype,
// %Atomics%
- Atomics: g.Atomics,
+ // Atomics: g.Atomics, // Deprecated on Jan 5, 2018
// %Boolean%
Boolean: g.Boolean,
// %BooleanPrototype%
@@ -222,9 +222,9 @@ export function getIntrinsics(sandbox) {
// %SetPrototype%
SetPrototype: g.Set.prototype,
// %SharedArrayBuffer%
- // SharedArrayBuffer - Deprecated on Jan 5, 2018
+ // SharedArrayBuffer // Deprecated on Jan 5, 2018
// %SharedArrayBufferPrototype%
- // SharedArrayBufferPrototype - Deprecated on Jan 5, 2018
+ // SharedArrayBufferPrototype // Deprecated on Jan 5, 2018
// %String%
String: g.String,
// %StringIteratorPrototype%

MODIFY
shim/src/stdlib.js
shim/src/stdlib.js
@@ -48,7 +48,7 @@ export function getStdLib(intrinsics) {
ReferenceError: { value: i.ReferenceError },
RegExp: { value: i.RegExp },
Set: { value: i.Set },
- // SharedArrayBuffer - Deprecated on Jan 5, 2018
+ // SharedArrayBuffer // Deprecated on Jan 5, 2018
String: { value: i.String },
Symbol: { value: i.Symbol },
SyntaxError: { value: i.SyntaxError },
@@ -63,7 +63,7 @@ export function getStdLib(intrinsics) {
// *** 18.4 Other Properties of the Global Object
- Atomics: { value: i.Atomics },
+ // Atomics: { value: i.Atomics }, // Deprecated on Jan 5, 2018
JSON: { value: i.JSON },
Math: { value: i.Math },
Reflect: { value: i.Reflect },

Disable Atomics