browser.js |
|
0 |
emulated-undefined.js |
---
esid: sec-if-statement-runtime-semantics-evaluation
description: >
ToBoolean returns `false` for [[IsHTMLDDA]] object; first Statement is not evaluated.
info: |
IfStatement : if ( Expression ) Statement else Statement
1. Let exprRef be the result of evaluating Expression.
2. Let exprValue be ! ToBoolean(? GetValue(exprRef)).
3. If exprValue is true, then
[...]
4. Else,
a. Let stmtCompletion be the result of evaluating the second Statement.
The [[IsHTMLDDA]] Internal Slot / Changes to ToBoolean
1. If argument has an [[IsHTMLDDA]] internal slot, return false.
2. Return true.
features: [IsHTMLDDA]
--- |
924 |
shell.js |
|
0 |