mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-14 15:47:59 +01:00
- Rename IO.write -> IO.print. - Make IO.write not print a newline. - Support \u Unicode escapes in strings.
6 lines
219 B
Plaintext
6 lines
219 B
Plaintext
var a = ["one", "two", "three", "four"]
|
|
IO.print(a.iteratorValue(0)) // expect: one
|
|
IO.print(a.iteratorValue(1)) // expect: two
|
|
IO.print(a.iteratorValue(2)) // expect: three
|
|
IO.print(a.iteratorValue(3)) // expect: four
|