JSFiddle - React, Tailwind, and code Playground by kkdaily April 05, 2018 JavaScript var x = ''.length; alert(x); if (x.length) { alert('hi'); }