← Code LabJavaScript0/50 solved · 0%
Patterns · medium

33. Immutable updates

Never mutate shared state.

Write `addTx(state, tx)` returning a new state object with `tx` appended to `state.txs`.
Required in your answer: ...stxs: