RESOLVED CONFIGURATION CHANGED 149721
Invalid syntax error with a for loop's "let" induction variable and a global "var"
https://bugs.webkit.org/show_bug.cgi?id=149721
Summary Invalid syntax error with a for loop's "let" induction variable and a global ...
Saam Barati
Reported 2015-10-01 13:16:52 PDT
This has a syntax error, but shouldn't: ``` var i; for (let i = 0; i < 10; i++) { print(i); } ```
Attachments
Saam Barati
Comment 1 2017-06-13 17:39:29 PDT
I fixed this recently. We no longer throw a syntax error.
Note You need to log in before you can comment on or make changes to this bug.