mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-16 20:28:04 +01:00
- Rename IO.write -> IO.print. - Make IO.write not print a newline. - Support \u Unicode escapes in strings.
11 lines
176 B
Plaintext
11 lines
176 B
Plaintext
fn {
|
|
var a = "before"
|
|
IO.print(a) // expect: before
|
|
|
|
a = "after"
|
|
IO.print(a) // expect: after
|
|
|
|
IO.print(a = "arg") // expect: arg
|
|
IO.print(a) // expect: arg
|
|
}.call
|