You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a = [1, 2, 3]
a[1..a.length]
Cannot read property 'length' of undefined
b = a.length
# returns undefined
a[1..b]
a[1 to a.length]
a[1 to b]
SyntaxError: empty range on line 1
So basically there seems to be a problem with using variables in ranges.