mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-16 20:28:04 +01:00
- Rename IO.write -> IO.print. - Make IO.write not print a newline. - Support \u Unicode escapes in strings.
11 lines
143 B
Plaintext
11 lines
143 B
Plaintext
for (i in [1, 2, 3, 4, 5]) {
|
|
IO.print(i)
|
|
if (i > 2) break
|
|
IO.print(i)
|
|
}
|
|
// expect: 1
|
|
// expect: 1
|
|
// expect: 2
|
|
// expect: 2
|
|
// expect: 3
|