mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +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) {}
|