JSFiddle - React, Tailwind, and code Playground

by moob

HTML

<div id="out"></div>

JavaScript

//example of the fastest js loop
var out = "";
var arr = ["jam","elephants","peanuts"];
var i = arr.length;
while (i--) {
    out += arr[i];
}
document.getElementById("out").innerHTML=out;