JSFiddle - React, Tailwind, and code Playground JavaScript setTimeout(foo, 0); throw 0; let x; function foo() { x = 42; console.log(x); }