Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/Atomics/compareExchange/name.js

raw
1 // Copyright (C) 2015 André Bargull. All rights reserved.
2 // Copyright (C) 2017 Mozilla Corporation. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
4
5 /*---
6 esid: sec-atomics.compareexchange
7 description: >
8 Atomics.compareExchange.name is "compareExchange".
9 includes: [propertyHelper.js]
10 ---*/
11
12 assert.sameValue(Atomics.compareExchange.name, "compareExchange");
13
14 verifyNotEnumerable(Atomics.compareExchange, "name");
15 verifyNotWritable(Atomics.compareExchange, "name");
16 verifyConfigurable(Atomics.compareExchange, "name");