JSFiddle - React, Tailwind, and code Playground

by TheDiamondDoge

JavaScript

let arr = [0,1,2];
console.log(arr.splice(0, 1));
console.log(arr);