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.
10 lines
158 B
Plaintext
10 lines
158 B
Plaintext
var a = "a"
|
|
var b = "b"
|
|
var c = "c"
|
|
|
|
// Assignment is right-associative.
|
|
a = b = c
|
|
IO.print(a) // expect: c
|
|
IO.print(b) // expect: c
|
|
IO.print(c) // expect: c
|