JSFiddle - React, Tailwind, and code Playground

by Frank Liu

JavaScript

const arr = new Array(10000).fill(Math.random())

const t1 = new Date()

for(let x of arr){
	if(x>1){
  ;
  }
}

const t2 = new Date()

console.log(t2-t1)