← Code LabJavaScript0/50 solved · 0%
Syntax · easy

10. Spread & rest

Copy and merge without mutating.

Write `withChain(wallet, chain)` returning a **new** object with the extra `chain` key.
Required in your answer: ...