mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
The "break" keyword now unwinds to the nearest ScopeType::Breakable. There's no support for break labels yet, but we'll get there too.
11 lines
115 B
JavaScript
11 lines
115 B
JavaScript
var a = "foo";
|
|
|
|
switch (a + "bar") {
|
|
case 1:
|
|
break;
|
|
case "foobar":
|
|
case 2:
|
|
console.log("PASS");
|
|
break;
|
|
}
|