For loops!
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
for (i in [1, 2, 3, 4, 5]) {
|
||||
IO.write(i)
|
||||
if (i > 2) break
|
||||
IO.write(i)
|
||||
}
|
||||
// expect: 1
|
||||
// expect: 1
|
||||
// expect: 2
|
||||
// expect: 2
|
||||
// expect: 3
|
||||
Reference in New Issue
Block a user