Files
wren/test/api/lists.wren
Bob Nystrom 37800d441c Merge branch 'master' into unify-modules-and-classes
# Conflicts:
#	src/module/io.wren
#	src/module/io.wren.inc
#	test/api/call.wren
#	test/api/returns.wren
2016-01-01 11:49:00 -08:00

11 lines
255 B
Plaintext

class Lists {
foreign static def newList()
foreign static def insert()
}
var list = Lists.newList()
System.print(list is List) // expect: true
System.print(list.count) // expect: 0
System.print(Lists.insert()) // expect: [4, 5, 6, 1, 2, 3, 9, 8, 7]