bigint.js |
---
description: Conversion of BigInt values to booleans
esid: sec-logical-not-operator-runtime-semantics-evaluation
info: |
UnaryExpression: ! UnaryExpression
1. Let expr be the result of evaluating UnaryExpression.
2. Let oldValue be ToBoolean(? GetValue(expr)).
3. If oldValue is true, return false.
4. Return true.
ToBoolean ( argument )
BigInt: Return false if argument is 0n; otherwise return true.
features: [BigInt]
--- |
716 |
browser.js |
|
0 |
S9.2_A1_T2.js |
---
info: Result of boolean conversion from undefined value is false
es5id: 9.2_A1_T2
description: >
Undefined, void and others are converted to Boolean by implicit
transformation
--- |
735 |
S9.2_A2_T2.js |
---
info: Result of boolean conversion from null value is false
es5id: 9.2_A2_T2
description: null convert to Boolean by implicit transformation
--- |
419 |
S9.2_A3_T2.js |
---
info: Result of boolean conversion from boolean value is no conversion
es5id: 9.2_A3_T2
description: true and false convert to Boolean by implicit transformation
--- |
556 |
S9.2_A4_T2.js |
---
info: |
Result of boolean conversion from number value is false if the argument
is +0, -0, or NaN; otherwise, is true
es5id: 9.2_A4_T2
description: +0, -0 and NaN convert to Boolean by implicit transformation
--- |
723 |
S9.2_A4_T4.js |
---
info: |
Result of boolean conversion from number value is false if the argument
is +0, -0, or NaN; otherwise, is true
es5id: 9.2_A4_T4
description: >
Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY,
Number.MAX_VALUE, Number.MIN_VALUE and some other numbers are
converted to Boolean by implicit transformation
--- |
1528 |
S9.2_A5_T2.js |
---
info: |
Result of boolean conversion from nonempty string value (length is not
zero) is true; from empty String (length is zero) is false
es5id: 9.2_A5_T2
description: "\"\" convert to Boolean by implicit transformation"
--- |
500 |
S9.2_A5_T4.js |
---
info: |
Result of boolean conversion from nonempty string value (length is not
zero) is true; from empty String (length is zero) is false
es5id: 9.2_A5_T4
description: Any nonempty string convert to Boolean by implicit transformation
--- |
671 |
S9.2_A6_T2.js |
---
info: Result of boolean conversion from object is true
es5id: 9.2_A6_T2
description: Different objects convert to Boolean by implicit transformation
--- |
3167 |
S11.4.9_A1.js |
---
info: |
White Space and Line Terminator between "!" and UnaryExpression are
allowed
es5id: 11.4.9_A1
description: Checking by using eval
--- |
1481 |
S11.4.9_A2.1_T1.js |
---
info: Operator !x uses GetValue
es5id: 11.4.9_A2.1_T1
description: Either Type(x) is not Reference or GetBase(x) is not null
--- |
877 |
S11.4.9_A2.1_T2.js |
---
info: Operator !x uses GetValue
es5id: 11.4.9_A2.1_T2
description: If GetBase(x) is null, throw ReferenceError
--- |
526 |
S11.4.9_A2.2_T1.js |
---
info: Operator !x uses [[Default Value]]
es5id: 11.4.9_A2.2_T1
description: If Type(value) is Object, return false
--- |
2350 |
S11.4.9_A3_T1.js |
---
info: Operator !x returns !ToBoolean(x)
es5id: 11.4.9_A3_T1
description: Type(x) is boolean primitive or Boolean object
--- |
596 |
S11.4.9_A3_T2.js |
---
info: Operator !x returns !ToBoolean(x)
es5id: 11.4.9_A3_T2
description: Type(x) is number primitive or Number object
--- |
938 |
S11.4.9_A3_T3.js |
---
info: Operator !x returns !ToBoolean(x)
es5id: 11.4.9_A3_T3
description: Type(x) is string primitive or String object
--- |
742 |
S11.4.9_A3_T4.js |
---
info: Operator !x returns !ToBoolean(x)
es5id: 11.4.9_A3_T4
description: Type(x) is undefined or null
--- |
439 |
S11.4.9_A3_T5.js |
---
info: Operator !x returns !ToBoolean(x)
es5id: 11.4.9_A3_T5
description: Type(x) is Object object or Function object
--- |
492 |
shell.js |
|
0 |
symbol-logical-not-evaluation.js |
---
es6id: 12.5.12.1
description: >
"Logical Not" coercion operation on Symbols
features: [Symbol]
--- |
621 |