mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-11 22:28:45 +01:00
Cleanups for merging map method
This commit is contained in:
@ -2,4 +2,4 @@ var a = [1,2,3]
|
||||
var inc = fn (x) { return x + 1 }
|
||||
var b = a.map(inc)
|
||||
|
||||
IO.write(b) // expect: [2, 3, 4]
|
||||
IO.print(b) // expect: [2, 3, 4]
|
||||
|
||||
Reference in New Issue
Block a user