I've created a multidimensional array in javascript, but I need to convert to coffeescript. The multidimensional array works fine in javascript but doesn't seem to work properly when I convert using JS2coffee and I can't seem to find any solution online.
Here is my relevant code:
selectedCheck = [
check_11_50
check_11_250
check_11_500
check_11_1000
check_11_2000
]
check_11_50 = [
50
69.99
250
169.99
"1785-00050/check-11"
]
check_11_250 = [
250
169.99
500
230.99
"1785-00250/check-11"
]
# ...
This should print "250".
console.log selectedCheck[1][0]