Introduction to the Spread Operator with Objects
Premium
You created and modified objects directly in the objects series. The spread operator ... lets you copy or merge objects without mutating the originals. You'll see how later sources overwrite earlier ones when keys collide.