JSFiddle - React, Tailwind, and code Playground

by DuncanMack

HTML

<div id="output"></div>

JavaScript

setTimeout(function() {
    alert("There should be a two second pause before I come up after you close the previous window");
},2000);

alert("Will I stop event timers? It appears to depend on the browser. Hang out in this window for a while and then see if the next alert dialog comes right up or if you have two wait 2 seconds");