JSFiddle - React, Tailwind, and code Playground

by Oliver_kh

HTML

<div class="f"></div>

JavaScript

$(function () {
    var f = true;
    var t = 'true';
    var fa = 'false';
    $('.f').text(f ? t : fa);
});