JSFiddle - React, Tailwind, and code Playground

JavaScript

var abc = ['a', 'b', 'c', 'd'];
abc.pop()
alert(abc);