Question 1 of 5
How does the lesson update an object without mutating the original?
Spread gave updated copies while the originals held still.
Spreading an object into a new one copies its properties, and properties written after the spread win, so the new object carries the change while the original stands still. That is how larger programs stay predictable when several parts hold the same record.
Review this lesson