Strict mode Failing
Expected no error, got SyntaxError: warning: the variable "Atomics" was not declared in function "global"
non-Strict mode Failing
Expected no error, got ReferenceError: Property 'Atomics' doesn't exist
Features:
- Atomics
Expected no error, got SyntaxError: warning: the variable "Atomics" was not declared in function "global"
Expected no error, got ReferenceError: Property 'Atomics' doesn't exist
// Copyright (C) 2017 Mozilla Corporation. All rights reserved. // This code is governed by the license found in the LICENSE file. /*--- esid: sec-atomics.or description: Testing descriptor property of Atomics.or includes: [propertyHelper.js] features: [Atomics] ---*/ verifyProperty(Atomics, 'or', { enumerable: false, writable: true, configurable: true, });