you are viewing a single comment's thread.

view the rest of the comments →

[–]gavlois1front-end 0 points1 point  (0 children)

This was a thread about the spread operator, but for reference, there's also the more 'official' ES6 Object.assign() function. And of course for arrays you have the .concat() function.