Skip to content

break

Control flow

Leaves the innermost loop or switch. There is no continue.

break;

None.

None.

break

In switch, break leaves the synthetic repeat-until-true. There is no labeled break and no goto.

while (true) {
break;
}

Emits:

while true do
break
end

while · for · switch · ../unsupported