JSFiddle - React, Tailwind, and code Playground JavaScript var x = 5; function fn() { x = 10; return; function x() {} } fn(); alert(x);