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.
8 lines
129 B
Plaintext
8 lines
129 B
Plaintext
// Body has its own scope.
|
|
var a = "outer"
|
|
var i = 0
|
|
while ((i = i + 1) <= 1) {
|
|
var a = "inner"
|
|
}
|
|
IO.print(a) // expect: outer
|