JSFiddle - React, Tailwind, and code Playground by ckissi August 04, 2023 JavaScript let x = 10; function foo() { console.log(x); let x = 20; } foo();