[Webkit-unassigned] [Bug 182414] Async arrow function with var declaration has incorrect shadowing
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 2 13:15:06 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=182414
--- Comment #5 from Adam Klein <adamk at chromium.org> ---
See step 27 of https://tc39.github.io/ecma262/#sec-functiondeclarationinstantiation. Basically, if a var-declared name has the same name as a parameter (and there aren't any parameter expressions, i.e., default parameter values or destructuring), the var declaration is ignored.
--
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/20180202/6bf59764/attachment.html>
More information about the webkit-unassigned
mailing list