JSFiddle - React, Tailwind, and code Playground
by Alexander
JavaScript
console.clear();
let x = 1;
{
const f = f => console.log(x);
f();
let x = 2;
}
by Alexander
console.clear();
let x = 1;
{
const f = f => console.log(x);
f();
let x = 2;
}