var i = 0; while (i < 4) { i = i + 1; if (i-1 == 1) { break; } if (i-1 == 2) { break; } if (i-1 == 3) { break; } print(i-1); # expect: 0 } print("Finished"); # expect: Finished