JSFiddle - React, Tailwind, and code Playground

by rafalry

JavaScript

(function() {
	var counter = 0;
	setInterval(function() {
  var date = new Date();
  document.write(++counter + " - " + date.getHours() + ":" + date.getMinutes() + ":" + date.getSeconds() + "." + date.getMilliseconds() + " <br/>");
  }, 1000);
})()