mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-12 06:38:45 +01:00
- Rename IO.write -> IO.print. - Make IO.write not print a newline. - Support \u Unicode escapes in strings.
10 lines
102 B
Plaintext
10 lines
102 B
Plaintext
var f = null
|
|
|
|
fn(param) {
|
|
f = fn {
|
|
IO.print(param)
|
|
}
|
|
}.call("param")
|
|
|
|
f.call // expect: param
|