browser

Functional state update simulation

Simulate why React state updates that depend on previous state should use updater functions.