JSFiddle - React, Tailwind, and code Playground by coktopus October 31, 2020 JavaScript const a = {x: 1} const b = {...a} b.x = 2 console.log(a, b)