| bad-range.js |
---
esid: sec-atomics.compareexchange
description: >
Test range checking of Atomics.compareExchange on arrays that allow atomic operations
includes: [testAtomics.js, testTypedArray.js]
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, TypedArray, for-of]
--- |
915 |
- |
| descriptor.js |
---
esid: sec-atomics.compareexchange
description: Testing descriptor property of Atomics.compareExchange
includes: [propertyHelper.js]
--- |
480 |
- |
| good-views.js |
---
esid: sec-atomics.compareexchange
description: Test Atomics.compareExchange on arrays that allow atomic operations.
includes: [testAtomics.js, testTypedArray.js]
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, TypedArray, for-of]
--- |
2633 |
- |
| length.js |
---
esid: sec-atomics.compareexchange
description: >
Atomics.compareExchange.length is 4.
info: |
Atomics.compareExchange ( ia, index, expect, replace )
17 ECMAScript Standard Built-in Objects:
Every built-in Function object, including constructors, has a length
property whose value is an integer. Unless otherwise specified, this
value is equal to the largest number of named arguments shown in the
subclause headings for the function description, including optional
parameters. However, rest parameters shown using the form “...name”
are not included in the default argument count.
Unless otherwise specified, the length property of a built-in Function
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
[[Configurable]]: true }.
includes: [propertyHelper.js]
--- |
1255 |
- |
| name.js |
---
esid: sec-atomics.compareexchange
description: >
Atomics.compareExchange.name is "compareExchange".
includes: [propertyHelper.js]
--- |
567 |
- |
| non-views.js |
---
esid: sec-atomics.compareexchange
description: >
Test Atomics.compareExchange on view values other than TypedArrays
includes: [testAtomics.js]
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, for-of]
--- |
512 |
- |
| nonshared-int-views.js |
---
esid: sec-atomics.compareexchange
description: >
Test Atomics.compareExchange on non-shared integer TypedArrays
includes: [testTypedArray.js]
features: [TypedArray]
--- |
714 |
- |
| shared-nonint-views.js |
---
esid: sec-atomics.compareexchange
description: >
Test Atomics.compareExchange on shared non-integer TypedArrays
includes: [testTypedArray.js]
features: [TypedArray]
--- |
595 |
- |