| in-branch-1.js |
---
esid: sec-conditional-operator
es6id: 12.13
description: >
The first AssignmentExpression may include the `in` keyword in any context
info: |
Syntax
ConditionalExpression[In, Yield] :
LogicalORExpression[?In, ?Yield]
LogicalORExpression[?In, ?Yield] ? AssignmentExpression[+In, ?Yield] : AssignmentExpression[?In, ?Yield]
--- |
750 |
- |
| in-branch-2.js |
---
esid: sec-conditional-operator
es6id: 12.13
description: >
The second AssignmentExpression cannot include the `in` keyword in contexts
where it is disallowed.
info: |
Syntax
ConditionalExpression[In, Yield] :
LogicalORExpression[?In, ?Yield]
LogicalORExpression[?In, ?Yield] ? AssignmentExpression[+In, ?Yield] : AssignmentExpression[?In, ?Yield]
negative:
phase: parse
type: SyntaxError
--- |
655 |
- |
| in-condition.js |
---
esid: sec-conditional-operator
es6id: 12.13
description: >
The expression's LogicalORExpression sub-expression cannot include the `in`
keyword in contexts where it is disallowed.
info: |
Syntax
ConditionalExpression[In, Yield] :
LogicalORExpression[?In, ?Yield]
LogicalORExpression[?In, ?Yield] ? AssignmentExpression[+In, ?Yield] : AssignmentExpression[?In, ?Yield]
negative:
phase: parse
type: SyntaxError
--- |
673 |
- |
| S11.12_A1.js |
---
info: |
White Space and Line Terminator between LogicalORExpression and "?" or
between "?" and AssignmentExpression or between AssignmentExpression and
":" or between ":" and AssignmentExpression are allowed
es5id: 11.12_A1
description: Checking by using eval
--- |
2345 |
- |
| S11.12_A2.1_T1.js |
---
info: "Operator x ? y : z uses GetValue"
es5id: 11.12_A2.1_T1
description: Either Type is not Reference or GetBase is not null
--- |
1256 |
- |
| S11.12_A2.1_T2.js |
---
info: "Operator x ? y : z uses GetValue"
es5id: 11.12_A2.1_T2
description: If GetBase(x) is null, throw ReferenceError
--- |
536 |
- |
| S11.12_A2.1_T3.js |
---
info: "Operator x ? y : z uses GetValue"
es5id: 11.12_A2.1_T3
description: >
If ToBoolean(x) is true and GetBase(y) is null, throw
ReferenceError
--- |
571 |
- |
| S11.12_A2.1_T4.js |
---
info: "Operator x ? y : z uses GetValue"
es5id: 11.12_A2.1_T4
description: >
If ToBoolean(x) is false and GetBase(z) is null, throw
ReferenceError
--- |
572 |
- |
| S11.12_A2.1_T5.js |
---
info: "Operator x ? y : z uses GetValue"
es5id: 11.12_A2.1_T5
description: If ToBoolean(x) is true and GetBase(z) is null, return y
--- |
400 |
- |
| S11.12_A2.1_T6.js |
---
info: "Operator x ? y : z uses GetValue"
es5id: 11.12_A2.1_T6
description: If ToBoolean(x) is false and GetBase(y) is null, return z
--- |
403 |
- |
| S11.12_A3_T1.js |
---
info: If ToBoolean(x) is false, return z
es5id: 11.12_A3_T1
description: Type(y) and Type(z) are boolean primitives
--- |
504 |
- |
| S11.12_A3_T2.js |
---
info: If ToBoolean(x) is false, return z
es5id: 11.12_A3_T2
description: Type(y) and Type(z) are number primitives
--- |
453 |
- |
| S11.12_A3_T3.js |
---
info: If ToBoolean(x) is false, return z
es5id: 11.12_A3_T3
description: Type(y) and Type(z) are string primitives
--- |
475 |
- |
| S11.12_A3_T4.js |
---
info: If ToBoolean(x) is false, return z
es5id: 11.12_A3_T4
description: Type(x) or Type(y) is changed between null and undefined
--- |
493 |
- |
| S11.12_A4_T1.js |
---
info: If ToBoolean(x) is true, return y
es5id: 11.12_A4_T1
description: Type(y) and Type(z) are boolean primitives
--- |
639 |
- |
| S11.12_A4_T2.js |
---
info: If ToBoolean(x) is true, return y
es5id: 11.12_A4_T2
description: Type(y) and Type(z) are number primitives
--- |
576 |
- |
| S11.12_A4_T3.js |
---
info: If ToBoolean(x) is true, return y
es5id: 11.12_A4_T3
description: Type(y) and Type(z) are string primitives
--- |
602 |
- |
| S11.12_A4_T4.js |
---
info: If ToBoolean(x) is true, return y
es5id: 11.12_A4_T4
description: Type(x) or Type(y) is changed between null and undefined
--- |
488 |
- |
| symbol-conditional-evaluation.js |
---
es6id: 12.12.3
description: >
Conditional Symbol evaluation
features: [Symbol]
--- |
372 |
- |
| tco-cond.js |
---
description: Expression is a candidate for tail-call optimization.
esid: sec-static-semantics-hascallintailposition
flags: [onlyStrict]
features: [tail-call-optimization]
includes: [tcoHelper.js]
--- |
518 |
- |
| tco-pos.js |
---
description: Expression is a candidate for tail-call optimization.
esid: sec-static-semantics-hascallintailposition
flags: [onlyStrict]
features: [tail-call-optimization]
includes: [tcoHelper.js]
--- |
519 |
- |