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