When I wrote this blogpost about object destructuring in ES6, I decided that it would be easier to split up the main subject of destructuring between how to destructure objects in ES6 and how to destructure arrays. This post is part 2 and aims at giving an intro to array destructuring. The difference between arrays… Continue reading Basic array destructuring in ES6