JSFiddle - React, Tailwind, and code Playground
JavaScript
function testf(){
y=2;
x=3;
if(false){
var x=5;
}
}
testf();
alert(y);
alert(x);
function testf(){
y=2;
x=3;
if(false){
var x=5;
}
}
testf();
alert(y);
alert(x);