mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-11 17:37:33 +02:00
Test that the await continuation's throw path properly unwinds the lexical environment when inside a with statement within a try-catch.
10 lines
115 B
JavaScript
10 lines
115 B
JavaScript
async function f(a) {
|
|
try {
|
|
with (a) {
|
|
await 1;
|
|
}
|
|
} catch (e) {
|
|
}
|
|
}
|
|
f({});
|