JSFiddle - React, Tailwind, and code Playground

by Darren Jennings

HTML

<h1>hey</h1>

CSS

body {
background-color: white;
}

JavaScript

function init () {
  do {
    var active = true
    await setTimeout(() => {
      active = false
    }, 1000)
  } while(active)
}


init()
document.write('hey')