JSFiddle - React, Tailwind, and code Playground

by ChangJoo Park

JavaScript

const arr = [1]

arr.splice(0, 1, 'abcd')
console.log(arr)