mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-18 13:49:59 +01:00
11 lines
183 B
Plaintext
11 lines
183 B
Plaintext
|
|
class Foo {
|
||
|
|
construct new() {}
|
||
|
|
|
||
|
|
toString { "Foo" }
|
||
|
|
}
|
||
|
|
|
||
|
|
System.writeAll([]) // expect:
|
||
|
|
System.print()
|
||
|
|
System.writeAll([1, true, Foo.new(), "s"]) // expect: 1trueFoos
|
||
|
|
System.print()
|