JSFiddle - React, Tailwind, and code Playground

by pierian_design

JavaScript

let arr = [1, 2, 3, 4];

console.log(arr.splice(0, 1));