JSFiddle - React, Tailwind, and code Playground

by JoeQuery

HTML

<div id="testing"></div>

JavaScript

$(function(){
    t = $("#testing");
    var start = new Date().getTime();
    for(i=0; i<1000; i++){
          $(t).addClass("lol");
          //$(t).removeClass("lol");        
    }
    var stop = new Date().getTime();
    var executionTime = stop - start;

    alert("Done after " + executionTime +"ms");
});