Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
16
Task/Collections/Wren/collections.wren
Normal file
16
Task/Collections/Wren/collections.wren
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
var list = [] // Empty Array
|
||||
list = [1,2,3,4]
|
||||
list.add(5)
|
||||
list.clear()
|
||||
list = [0] * 10
|
||||
list.count // 10
|
||||
|
||||
var map = {}
|
||||
map["key"] = "value"
|
||||
map[3] = 31
|
||||
map.count // 2
|
||||
map.clear()
|
||||
|
||||
for (e in map.keys) {
|
||||
// Do stuff
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue