JSFiddle - React, Tailwind, and code Playground

by chandings

JavaScript

console.log("JavaScript Started");
var maxCount = 100000;
var str;
setTimeout(function(){
    for(var index = 0; index <maxCount; index++){
        str = "Just killing time." + "Just killing time." + "Just killing time.";
        str = null;
        if(index == maxCount - 1){
            console.log("Just concatonated a string " + maxCount + " times!");
        }
    }
},1);
setTimeout(function(){console.log("Hello")},1);