JSFiddle - React, Tailwind, and code Playground

by pleinx

Babel + JSX

function doSomething() {
	let a = ['a', 'b', 'c'];
	for(let i = 0 ; i <= 1000 ; i++) {
  	a.reverse();
  }
}

let t0 = performance.now();
doSomething();
let t1 = performance.now();

// README
// Now you test the Babel JSX. Change Language to "JavaScript" to see the difference.
console.log("Call to doSomething took " + (t1 - t0) + " milliseconds.");