JSFiddle - React, Tailwind, and code Playground
HTML
<div id="cons"></div>
JavaScript
oneliner = function() {
return false ? "yes" : "no";
};
jQuery("#cons").html(oneliner());
<div id="cons"></div>
oneliner = function() {
return false ? "yes" : "no";
};
jQuery("#cons").html(oneliner());