[Webkit-unassigned] [Bug 105922] CommaExpression with 'arguments' as last expression throws SyntaxError instead of ReferenceError
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 7 10:47:05 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=105922
--- Comment #1 from Oliver Hunt <oliver at apple.com> 2013-01-07 10:49:00 PST ---
I'm not sure why this is a bug - reference errors are late errors, syntax errors are early. Assigning to arguments in strict mode is a SyntaxError. How are you determining that ReferenceError takes priority?
I also would have thought that var a; (1,a) = 0; would be a syntax error in strict mode as well.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list