JSFiddle - React, Tailwind, and code Playground by irinablue January 27, 2023 JavaScript const a = [1,2,3] const b = [...a] b[2] = 4 console.log(a)