JSFiddle - React, Tailwind, and code Playground

JavaScript

cb();

const x = [];

function cb() {
  x.push(1);
}