JSFiddle - React, Tailwind, and code Playground

by core972

JavaScript

let i = 1;
console.time("interval");
let test = setInterval(function(){
	console.log("Hello ", i);
  i++;
  if(i > 9) clearInterval(test);
},0.1);