mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-18 13:49:59 +01:00
@ -1,3 +1,3 @@
|
||||
var a = 1..3
|
||||
var b = a.map {|x| x + 1 }.list
|
||||
var b = a.map {|x| x + 1 }.toList
|
||||
IO.print(b) // expect: [2, 3, 4]
|
||||
|
||||
Reference in New Issue
Block a user