Bug 183090

Summary: Arrow functions should not be syntax error in short-circuit expressions
Product: WebKit Reporter: Aaron Chu <aaron_chu>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 11   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
test case none

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
Aaron Chu
Comment 1 2018-02-28 16:29:20 PST
Note You need to log in before you can comment on or make changes to this bug.