โ error: unlabeled break is only allowed inside a loop or switch, a labeledbreak is required to exit an if or do.
(1...10).forEach { n inif n >2 { break } // โญ `break` is inside a "closure"// ^^^^^// โ error: // โข unlabeled 'break' is only allowed inside a loop or switch// โข labeled 'break' is required to exit an `if` or `do`}