mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-18 13:49:59 +01:00
- Added a bunch of tests. - Removed some TODOs for stuff that's already done. - Made list literals handle newlines better.
15 lines
197 B
Plaintext
15 lines
197 B
Plaintext
// Allow newlines in most places.
|
|
var list = [
|
|
|
|
"a"
|
|
, "b",
|
|
|
|
"c", "d"
|
|
|
|
]
|
|
|
|
io.write(list[0]) // expect: a
|
|
io.write(list[1]) // expect: b
|
|
io.write(list[2]) // expect: c
|
|
io.write(list[3]) // expect: d
|