JSFiddle - React, Tailwind, and code Playground

by Abhishek Kumar

HTML

<div id="konsole"></div>

JavaScript

var booleanConstants = {
  TRUE: 'true',
  FALSE: 'false'
};

this.TRUE = 'true';
this.FALSE = 'false';

console.log('Output: ', booleanConstants.TRUE, this.TRUE);

document.getElementById('konsole').innerHTML = 'Output: '+  booleanConstants.TRUE +', '+ this.TRUE;