var i = 0; while (i < 10) { if (i == 5) break; print i; i = i + 1; } // expect: 0 // expect: 1 // expect: 2 // expect: 3 // expect: 4