array destructuring with rest element not implemented
Expected:
$ echo 'var [a, ...b] = [1, 2, 3, 4]; console.log(a, b);' | node
1 [ 2, 3, 4 ]
Bublé 0.14.2 transpile:
$ echo 'var [a, ...b] = [1, 2, 3, 4]; console.log(a, b);' | buble
Error: Unexpected node type in destructuring (RestElement)