mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-16 20:28:04 +01:00
11 lines
169 B
Plaintext
11 lines
169 B
Plaintext
var f = new Fn {
|
|
IO.print("evaluate sequence")
|
|
return [1, 2, 3]
|
|
}
|
|
|
|
for (i in f.call) IO.print(i)
|
|
// expect: evaluate sequence
|
|
// expect: 1
|
|
// expect: 2
|
|
// expect: 3
|