mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
Created these while experimenting with LibJS. Might as well bring them into the tree and increase our coverage.
12 lines
188 B
JavaScript
12 lines
188 B
JavaScript
// Test that yield inside a finally block saves/restores the exception register.
|
|
|
|
function* f() {
|
|
try {
|
|
yield 1;
|
|
yield 2;
|
|
} finally {
|
|
yield 3;
|
|
}
|
|
}
|
|
f();
|