Juan R Labrada
Welcome
Notes
Experience
Products
Experiments
Contact
Functional programming examples
How to change an object key without modifying the object
const assoc = (key, value, object) => ({ ...object, [key]: value });