I've been using and loving babel (6.5.2) for a while now and find the new destructuring syntax great for writing clearer JavaScript.
Why doesn't the rest destructuring work (it generates a token error) anywhere in the array? For example:
const [column, ...restOfColumns] = columns;
const objProps = column.valueChain.slice(0, -1);
const prop = column.valueChain[column.valueChain.length - 1];
//const [...objProps, prop] = column.valueChain
The commented out line would replace the preceding two lines with something much easier to read and understand.