mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
9 lines
196 B
JavaScript
9 lines
196 B
JavaScript
test("basic support for statement with many labels", () => {
|
|
function foo() {
|
|
a: b: c: for (;;) {
|
|
break b;
|
|
}
|
|
return 1;
|
|
}
|
|
expect(foo()).toBe(1);
|
|
});
|