JSFiddle - React, Tailwind, and code Playground JavaScript var test = {foo : 'bar'}; var newTest = test; newTest.foo = 'changed'; console.log(test);