bigint |
|
|
browser.js |
|
0 |
corner-cases.js |
---
esid: sec-atomics.islockfree
description: >
Test isLockFree on various non-intuitive arguments
features: [Atomics]
--- |
2008 |
descriptor.js |
---
esid: sec-atomics.islockfree
description: Testing descriptor property of Atomics.isLockFree
includes: [propertyHelper.js]
features: [Atomics]
--- |
510 |
expected-return-value.js |
---
esid: sec-atomics.islockfree
description: >
Atomics.isLockFree( size )
Let n be ? ToInteger(size).
Let AR be the Agent Record of the surrounding agent.
If n equals 1, return AR.[[IsLockFree1]].
If n equals 2, return AR.[[IsLockFree2]].
If n equals 4, return true.
If n equals 8, return AR.[[IsLockFree8]].
Return false.
features: [Atomics, Array.prototype.includes]
--- |
4102 |
length.js |
---
esid: sec-atomics.islockfree
description: >
Atomics.isLockFree.length is 1.
info: |
Atomics.isLockFree ( x )
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]
features: [Atomics]
--- |
1259 |
name.js |
---
esid: sec-atomics.islockfree
description: >
Atomics.isLockFree.name is "isLockFree".
includes: [propertyHelper.js]
features: [Atomics]
--- |
597 |
not-a-constructor.js |
---
esid: sec-ecmascript-standard-built-in-objects
description: >
Atomics.isLockFree does not implement [[Construct]], is not new-able
info: |
ECMAScript Function Objects
Built-in function objects that are not identified as constructors do not
implement the [[Construct]] internal method unless otherwise specified in
the description of a particular function.
sec-evaluatenew
...
7. If IsConstructor(constructor) is false, throw a TypeError exception.
...
includes: [isConstructor.js]
features: [Reflect.construct, Atomics, arrow-function, TypedArray, SharedArrayBuffer]
--- |
1288 |
shell.js |
---
description: |
Test if a given function is a constructor function.
defines: [isConstructor]
features: [Reflect.construct]
--- |
596 |