JSFiddle - React, Tailwind, and code Playground by somya_kashyap3 July 08, 2018 JavaScript var a = "0"; if (a) { alert("a is true!"); }