RESOLVED FIXED145765
[JSC] SyntaxError message for missing statement as the body of for-in / for-of has a typo
https://bugs.webkit.org/show_bug.cgi?id=145765
Summary [JSC] SyntaxError message for missing statement as the body of for-in / for-o...
Jesse Ruderman
Reported 2015-06-08 13:13:56 PDT
Safari Version 8.0.6 (10600.6.3, r185316) > {for (a in [])} SyntaxError: Unexpected token '}'. Expected a statement as the body of a for-inloop. > {for (a of [])} SyntaxError: Unexpected token '}'. Expected a statement as the body of a for-ofloop. There should be a space before "loop".
Attachments
Radar WebKit Bug Importer
Comment 1 2023-09-21 10:28:09 PDT
Alexey Shvayka
Comment 2 2023-09-21 11:44:02 PDT
EWS
Comment 3 2023-09-21 13:32:01 PDT
Committed 268271@main (a636b441f67e): <https://commits.webkit.org/268271@main> Reviewed commits have been landed. Closing PR #18030 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.