JSFiddle - React, Tailwind, and code Playground

JavaScript

window.onerror = function() {
    alert("an error");
}

notThere();