11.4.6-2-1.js |
---
es5id: 11.4.6-2-1
description: +"" should be zero
--- |
254 |
bigint-throws.js |
---
description: The Unary + Operator throws a TypeError on BigInt numbers
esid: sec-unary-plus-operator-runtime-semantics-evaluation
info: |
UnaryExpression: + UnaryExpression
1. Let expr be the result of evaluating UnaryExpression.
2. Return ? ToNumber(? GetValue(expr)).
ToNumber ( argument )
BigInt: Throw a TypeError exception
features: [BigInt]
--- |
852 |
browser.js |
|
0 |
S9.3_A1_T2.js |
---
info: Result of number conversion from undefined value is NaN
es5id: 9.3_A1_T2
description: Undefined convert to Number by implicit transformation
--- |
737 |
S9.3_A2_T2.js |
---
info: Result of number conversion from null value is +0
es5id: 9.3_A2_T2
description: null convert to Number by implicit transformation
--- |
537 |
S9.3_A3_T2.js |
---
info: |
Result of number conversion from boolean value is 1 if the argument is
true, else is +0
es5id: 9.3_A3_T2
description: False and true convert to Number by implicit transformation
--- |
703 |
S9.3_A4.1_T2.js |
---
info: |
Result of number conversion from number value equals to the input
argument (no conversion)
es5id: 9.3_A4.1_T2
description: >
Some numbers including Number.MAX_VALUE and Number.MIN_VALUE are
converted to Number with implicit transformation
--- |
851 |
S9.3_A4.2_T2.js |
---
info: |
Result of number conversion from number value equals to the input
argument (no conversion)
es5id: 9.3_A4.2_T2
description: >
Number.NaN, +0, -0, Number.POSITIVE_INFINITY,
Number.NEGATIVE_INFINITY, Number.MAX_VALUE and Number.MIN_VALUE
convert to Number by implicit transformation
--- |
1728 |
S9.3_A5_T2.js |
---
info: |
Result of number conversion from object value is the result
of conversion from primitive value
es5id: 9.3_A5_T2
description: >
new Number(), new Number(0), new Number(Number.NaN), new
Number(null), new Number(void 0) and others convert to Number by
implicit transformation
--- |
4046 |
S11.4.6_A1.js |
---
info: |
White Space and Line Terminator between "+" and UnaryExpression are
allowed
es5id: 11.4.6_A1
description: Checking by using eval
--- |
1341 |
S11.4.6_A2.1_T1.js |
---
info: Operator +x uses GetValue
es5id: 11.4.6_A2.1_T1
description: Either Type(x) is not Reference or GetBase(x) is not null
--- |
914 |
S11.4.6_A2.1_T2.js |
---
info: Operator +x uses GetValue
es5id: 11.4.6_A2.1_T2
description: If GetBase(x) is null, throw ReferenceError
--- |
526 |
S11.4.6_A2.2_T1.js |
---
info: Operator +x uses [[Default Value]]
es5id: 11.4.6_A2.2_T1
description: If Type(value) is Object, evaluate ToPrimitive(value, Number)
--- |
3132 |
S11.4.6_A3_T1.js |
---
info: Operator +x returns ToNumber(x)
es5id: 11.4.6_A3_T1
description: Type(x) is boolean primitive or Boolean object
--- |
521 |
S11.4.6_A3_T2.js |
---
info: Operator +x returns ToNumber(x)
es5id: 11.4.6_A3_T2
description: Type(x) is number primitive or Number object
--- |
520 |
S11.4.6_A3_T3.js |
---
info: Operator +x returns ToNumber(x)
es5id: 11.4.6_A3_T3
description: Type(x) is string primitive or String object
--- |
899 |
S11.4.6_A3_T4.js |
---
info: Operator +x returns ToNumber(x)
es5id: 11.4.6_A3_T4
description: Type(x) is undefined or null
--- |
488 |
S11.4.6_A3_T5.js |
---
info: Operator +x returns ToNumber(x)
es5id: 11.4.6_A3_T5
description: Type(x) is Object object or Function object
--- |
562 |
shell.js |
|
0 |