1
0
forked from Mirror/wren
Files
wren/test/variable/scope_while.wren
Bob Nystrom b979272305 Clean up text handling a bit:
- Rename IO.write -> IO.print.
- Make IO.write not print a newline.
- Support \u Unicode escapes in strings.
2014-01-05 12:27:12 -08:00

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