Podcast Lookup

Using Spread with Objects and Arrays

Code Snippet

  • September 5, 2019
  • 11 min
  • Season 1, episode 6
Episode page

About this episode

In this episode we look at the spread operator and how it is used to make quick work of merging and shallow-copying Arrays and Objects. If you'd like to follow along, the link to today's snippet code is here:

https://codepen.io/walpolea/pen/bGboQyZ