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.
15 lines
147 B
Plaintext
15 lines
147 B
Plaintext
var foo = null
|
|
|
|
{
|
|
var local = "local"
|
|
class Foo {
|
|
method {
|
|
IO.print(local)
|
|
}
|
|
}
|
|
|
|
foo = new Foo
|
|
}
|
|
|
|
foo.method // expect: local
|