bare-initializer.js |
---
esid: sec-initializers-in-forin-statement-heads
description: >
for-in heads prohibit AssignmentExpressions
negative:
phase: parse
type: SyntaxError
--- |
383 |
browser.js |
|
0 |
const-initializer.js |
---
esid: sec-initializers-in-forin-statement-heads
description: >
for-in initializers with const are prohibited
negative:
phase: parse
type: SyntaxError
--- |
385 |
let-initializer.js |
---
esid: sec-initializers-in-forin-statement-heads
description: >
for-in initializers with let are prohibited
negative:
phase: parse
type: SyntaxError
--- |
381 |
nonstrict-initializer.js |
---
esid: sec-initializers-in-forin-statement-heads
description: >
for-in initializers in nonstrict mode
flags: [noStrict]
--- |
998 |
shell.js |
|
0 |
strict-initializer-strict.js |
---
esid: sec-initializers-in-forin-statement-heads
description: >
for-in initializers in strict mode are prohibited
negative:
phase: parse
type: SyntaxError
flags: [onlyStrict]
--- |
420 |
var-arraybindingpattern-initializer.js |
---
esid: sec-initializers-in-forin-statement-heads
description: >
for-in initializers with ArrayBindingPatterns are always prohibited
negative:
phase: parse
type: SyntaxError
--- |
406 |
var-objectbindingpattern-initializer.js |
---
esid: sec-initializers-in-forin-statement-heads
description: >
for-in initializers with ObjectBindingPattern are always prohibited
negative:
phase: parse
type: SyntaxError
--- |
407 |