mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-12 14:48:40 +01:00
- Rename IO.write -> IO.print. - Make IO.write not print a newline. - Support \u Unicode escapes in strings.
9 lines
158 B
Plaintext
9 lines
158 B
Plaintext
// skip: Variables should not be in scope in their initializer.
|
|
{
|
|
var a = "outer"
|
|
{
|
|
var a = a + " inner"
|
|
IO.print(a) // expect: outer inner
|
|
}
|
|
}
|