bigint-non-primitive.js |
---
description: Bitwise NOT for BigInt object wrappers
esid: sec-bitwise-not-operator-runtime-semantics-evaluation
info: |
Runtime Semantics: Evaluation
UnaryExpression : ~ UnaryExpression
1. Let expr be the result of evaluating UnaryExpression.
2. Let oldValue be ? ToNumeric(? GetValue(expr)).
3. Let T be Type(oldValue).
4. Return ? T::bitwiseNOT(oldValue).
features: [BigInt, Symbol.toPrimitive]
--- |
1210 |
bigint.js |
---
description: Bitwise NOT for BigInt values
esid: sec-numeric-types-bigint-bitwiseNOT
info: |
BigInt::bitwiseNOT (x)
The abstract operation BigInt::bitwiseNOT with an argument x of BigInt type returns the one's complement of x; that is, -x - 1.
features: [BigInt]
--- |
1621 |
browser.js |
|
0 |
S9.5_A2.1_T2.js |
---
info: ToInt32 returns values between -2^31 and 2^31-1
es5id: 9.5_A2.1_T2
description: >
Converting some numbers, which are in\outside of Int32 scopes,
with ~ operator
--- |
753 |
S9.5_A2.2_T2.js |
---
info: Compute result modulo 2^32
es5id: 9.5_A2.2_T2
description: Use operator ~
--- |
1569 |
S9.5_A2.3_T2.js |
---
info: If result is greater than or equal to 2^31, return result -2^32
es5id: 9.5_A2.3_T2
description: Use operator ~
--- |
908 |
S9.5_A3.1_T4.js |
---
info: Operator uses ToNumber
es5id: 9.5_A3.1_T4
description: Type(x) is Object
--- |
2954 |
S9.5_A3.2_T2.js |
---
info: Operator uses floor, abs
es5id: 9.5_A3.2_T2
description: Use operator ~
--- |
419 |
S11.4.8_A1.js |
---
info: |
White Space and Line Terminator between "~" and UnaryExpression are
allowed
es5id: 11.4.8_A1
description: Checking by using eval
--- |
1361 |
S11.4.8_A2.1_T1.js |
---
info: Operator ~x uses GetValue
es5id: 11.4.8_A2.1_T1
description: Either Type(x) is not Reference or GetBase(x) is not null
--- |
918 |
S11.4.8_A2.1_T2.js |
---
info: Operator ~x uses GetValue
es5id: 11.4.8_A2.1_T2
description: If GetBase(x) is null, throw ReferenceError
--- |
526 |
S11.4.8_A2.2_T1.js |
---
info: Operator ~x uses [[Default Value]]
es5id: 11.4.8_A2.2_T1
description: If Type(value) is Object, evaluate ToPrimitive(value, Number)
--- |
3144 |
S11.4.8_A3_T1.js |
---
info: Operator ~x returns ~ToInt32(x)
es5id: 11.4.8_A3_T1
description: Type(x) is boolean primitive or Boolean object
--- |
666 |
S11.4.8_A3_T2.js |
---
info: Operator ~x returns ~ToInt32(x)
es5id: 11.4.8_A3_T2
description: Type(x) is number primitive or Number object
--- |
1070 |
S11.4.8_A3_T3.js |
---
info: Operator ~x returns ~ToInt32(x)
es5id: 11.4.8_A3_T3
description: Type(x) is string primitive or String object
--- |
833 |
S11.4.8_A3_T4.js |
---
info: Operator ~x returns ~ToInt32(x)
es5id: 11.4.8_A3_T4
description: Type(x) is undefined or null
--- |
471 |
S11.4.8_A3_T5.js |
---
info: Operator ~x returns ~ToInt32(x)
es5id: 11.4.8_A3_T5
description: Type(x) is Object object or Function object
--- |
536 |
shell.js |
|
0 |