function Component() { const x = []; for (const item of [1, 2]) { if (item === 1) { break; } item |> x.push(%); } return x; }