[Webkit-unassigned] [Bug 183090] New: Arrow functions should not be syntax error is short-circuit expressions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 23 12:33:48 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=183090

            Bug ID: 183090
           Summary: Arrow functions should not be syntax error is
                    short-circuit expressions
           Product: WebKit
           Version: Safari 11
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aaron_chu at apple.com

Created attachment 334542

  --> https://bugs.webkit.org/attachment.cgi?id=334542&action=review

test case

`var c =  c || () => {};` causes a syntax error, but `var c =  c || function(){}` does not.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180223/c608c287/attachment.html>


More information about the webkit-unassigned mailing list