mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-12 06:38:45 +01:00
8 lines
160 B
Plaintext
8 lines
160 B
Plaintext
// Body has its own scope.
|
|
var a = "outer"
|
|
var i = 0
|
|
while ((i = i + 1) <= 1) var a = "inner"
|
|
io.write(a) // expect: outer
|
|
|
|
// TODO(bob): What about condition?
|