18 lines
175 B
Plaintext
18 lines
175 B
Plaintext
let l = list()
|
|
|
|
l.append(1)
|
|
l.append(2)
|
|
l.append("string")
|
|
l.append(3.14159)
|
|
|
|
def foo():
|
|
print("bar")
|
|
|
|
l.append(foo)
|
|
l.append("world")
|
|
|
|
for v in l:
|
|
print(v)
|
|
|
|
return 0
|