RESOLVED DUPLICATE of bug 223533270517
scope of async function parameters are broken with local variable declaration
https://bugs.webkit.org/show_bug.cgi?id=270517
Summary scope of async function parameters are broken with local variable declaration
wards.afar.0j
Reported 2024-03-05 07:08:45 PST
Run this code: ```js window.fn1 = async e => { var e = e["source"]; console.log({ e }) }; window.fn1({ source: 123 }) ``` All other browsers works, Safari 17.3.1 throws an error.
Attachments
wards.afar.0j
Comment 1 2024-03-05 07:41:34 PST
*** This bug has been marked as a duplicate of bug 223533 ***
Note You need to log in before you can comment on or make changes to this bug.