aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/export.moon
blob: 9c906d5e6b881171b1910ceb73868a034f389d57 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45

export a,b,c = 223, 343, 123
export cool = "dad"

d,e,f = 3, 2, 1
export d, e, f

export class Something
	umm: "cool"

export if this
	232
else
	4343

export What = if this
	232
else
	4343

export y = ->
	hallo = 3434

export with tmp
	j = 2000

export cbVal = do
	h = 100
	(x)<- f
	return x h

export y = ->
	h = 100
	k = 100

export switch h
	when 100, 150 then 200
	when 200 then 300
	else 0

export Constant = switch value
	when "good" then 1
	when "better" then 2
	when "best" then 3