opencode/packages/codemode-rust/conformance/cases/labels.js
2026-11-18 18:53:56 +01:00

10 lines
262 B
JavaScript

const found = []
outer: for (let i = 0; i < 4; i++) {
inner: for (let j = 0; j < 4; j++) {
if (j === 2) continue outer
if (i === 3) break outer
found.push(i + "" + j)
}
}
block: { found.push("in"); break block; found.push("never") }
return found