mirror of
https://github.com/leafo/moonscript.git
synced 2024-11-22 02:44:23 +00:00
31 lines
322 B
Plaintext
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"
|
|
|
|
|
|
|