JSFiddle - React, Tailwind, and code Playground JavaScript var json = { foo : window.bar } window.some = 'bar'; alert(json.foo);