JSFiddle - React, Tailwind, and code Playground

by cmruser

JavaScript

const arr = ["success", "success.withData"];
alert(["success", "success.withData"].shift())