mirror of https://github.com/tc39/test262.git
ba5529d926
The test as originally specified fails in all compatible parsers, but for the wrong reason. Below is an excerpt from V8, but all parser I tested behave the same: ```js for (const x; false; ) { ^ SyntaxError: Missing initializer in const declaration ``` After the change the error is the assumed: ```js var x; ^ SyntaxError: Identifier 'x' has already been declared ``` |
||
---|---|---|
.. | ||
annexB | ||
built-ins | ||
harness | ||
intl402 | ||
language |