WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
183090
Arrow functions should not be syntax error in short-circuit expressions
https://bugs.webkit.org/show_bug.cgi?id=183090
Summary
Arrow functions should not be syntax error in short-circuit expressions
Aaron Chu
Reported
2018-02-23 12:33:48 PST
Created
attachment 334542
[details]
test case `var c = c || () => {};` causes a syntax error, but `var c = c || function(){}` does not.
Attachments
test case
(356 bytes, text/html)
2018-02-23 12:33 PST
,
Aaron Chu
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Aaron Chu
Comment 1
2018-02-28 16:29:20 PST
<
rdar://problem/38006126
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug