JSFiddle - React, Tailwind, and code Playground by Vladymyr Shevchuk April 26, 2022 JavaScript const obj = { foo: undefined }; if ('foo' in obj) { alert('!'); }