mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 03:57:15 +02:00
Blocks containing non-local using declarations need a lexical environment, just like let/const declarations. Add the missing UsingDeclaration case to match C++ behavior.
2 lines
72 B
JavaScript
2 lines
72 B
JavaScript
try { (function() { { using x = {}; (() => x)(); } })(); } catch (e) {}
|