JSFiddle - React, Tailwind, and code Playground by TheDiamondDoge July 19, 2019 JavaScript var check = ""; check = check ? "yes" : "no"; console.log(check);