`in` and splatted array
satyr opened this issue · 2 comments
satyr commented
$ coffee -e 'a = [6, 9]; console.log 9 in [3, a...]'
false
$ coffee -bpe 'a in [b, c...]'
a === b || a === c;
TrevorBurnham commented
Nice catch. Should be easy to fix, since
_arr = [b, c...]
a in _arr
works.