JSFiddle - React, Tailwind, and code Playground

by maharajan a

JavaScript

const a=[1,2,3,4]
a.splice(0,2)
console.log(a)