JSFiddle - React, Tailwind, and code Playground by ppgab February 13, 2019 JavaScript const a = ''; if(a){ alert('yes'); }else{ alert('no') }