JSFiddle - React, Tailwind, and code Playground
by ZEZEME
HTML
<div id=roots></div>
JavaScript
const varr = 3;
const arr = [1,2,3,4];
arr[0] = 0;
const myFunc = (a, b) => {
return a + b;
};
const avgTemps {
today: 88,
tmr: 84
};
function getTmrTemp() {
{ tmr: tmrtemp } = avgTemps;
return tmrtemp;
}
getTmrTemp();
document.getElementById("root").innerHTML = tmrtemp;