JSFiddle - React, Tailwind, and code Playground by Niklas Andréasson January 04, 2014 JavaScript var x; if (typeof x === 'undefined') { console.log('x is undefined!'); }