moonscript/spec/inputs/assign.moon
2013-06-07 23:14:08 -07:00

31 lines
322 B
Plaintext

->
joop = 2302
(hi) ->
d = 100
hi = 1021
a,b,c,d = 1,2,3,4
hello[232], (5+5)[121], hello, x[99] = 100, 200, 300
joop = 12
joop = 2345
a, b = if hello
"hello"
else
"nothing", "yeah"
a, b = if hello
if yeah then "one", "two" else "mmhh"
else
print "the other"
"nothing", "yeah"