mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 17:44:56 +09: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.
10 lines
115 B
JavaScript
10 lines
115 B
JavaScript
var a = "foo";
|
|
|
|
switch (a + "bar") {
|
|
case 1:
|
|
break;
|
|
case "foobar":
|
|
case 2:
|
|
console.log("PASS");
|
|
break;
|
|
}
|