JSFiddle - React, Tailwind, and code Playground

by Valentin Sarychev

JavaScript

console.log(+new Date(), window.name, 'init');

var i = 0;
setTimeout(() => {
  console.log(+new Date(), window.name, 'start');
  for (i = 0; i < 1000000000; ++i) {  }
  console.log(+new Date(), window.name, 'stop');
}, 1000)