aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/assign.moon
blob: 1e5e7a6fdedbfb16ff930f457d573d6b955e4b10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

->
  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"