statement-with-many-labels.js 196 B

123456789
  1. test("basic support for statement with many labels", () => {
  2. function foo() {
  3. a: b: c: for (;;) {
  4. break b;
  5. }
  6. return 1;
  7. }
  8. expect(foo()).toBe(1);
  9. });