We have seen how to use some new syntax to extract elements from an array. Not to be left out, there are also some new facilities for combining arrays. Helpfully, as we'll see, the use of the spread operator mirrors that of the rest operator.
In this recipe, we'll take a look at how to use the spread operator to combine arrays.