JSFiddle - React, Tailwind, and code Playground
by rodneyjoyce
JavaScript
var i = 0;
function scopeA() {
return i;
}
function scopeB(i) {
return i;
}
function scopeC(i) {
if (true) {
let i = 2;
}
return i;
}
alert(scopeC(1));