forked from Mirror/wren
- Compile them as calls and definitions. - Use them for call(), clear(), run(), try(), and yield(). - Update the docs.
10 lines
102 B
Plaintext
10 lines
102 B
Plaintext
var f = new Fn {
|
|
while (true) {
|
|
var i = "i"
|
|
return i
|
|
}
|
|
}
|
|
|
|
IO.print(f.call())
|
|
// expect: i
|