JSFiddle - React, Tailwind, and code Playground by ChangJoo Park March 31, 2021 JavaScript const arr = [1] arr.splice(0, 1, 'abcd') console.log(arr)