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