`_` with out-of-bounds yields JS error
FireyFly opened this issue · 2 comments
FireyFly commented
As seen in the sample below, l_l
throws a JS error when given out-of-bounds values as the left argument. Not sure what the proper behaviour is (I was hoping for trailing too-high values to be ignored).
0 6_!5
Cannot read property 't' of undefined
refi64 commented
In K5, it gives a length error:
ryan@DevPC-LX:~/stuff$ rlwrap k5
2015.04.05 (c) arthur whitney
0 6_!5
ERROR: length
0 6_!5
^
ryan@DevPC-LX:~/stuff$
FireyFly commented
I see. I guess it shouldn't yield a JS error though, but rather check for the out-of-bounds condition and throw its own error.