JSFiddle - React, Tailwind, and code Playground JavaScript foo = 1; var bar = 1; void function () { alert(['foo' in this, 'bar' in this]); }();