forked from Mirror/wren
Mainly to get rid of one top level directory. But this will also be useful when there are tests of the embedding API.
4 lines
73 B
Plaintext
4 lines
73 B
Plaintext
var a = 1..3
|
|
var b = a.map {|x| x + 1 }
|
|
IO.print(b) // expect: [2, 3, 4]
|