summaryrefslogtreecommitdiff
path: root/test/arraylit-ni.myr
blob: 2cbc260181fb38442df5c012c427e37d325e3a70 (plain)
1
2
3
4
5
/* checks that we can create arrays without indexed initializers. exits with 2. */
const main = {
	var a = [1, 3, 2]
	-> a[2]
}