JSFiddle - React, Tailwind, and code Playground by slace August 07, 2011 JavaScript fn(); function fn() { foo = 42; } var foo = 24; console.log(foo);