JSFiddle - React, Tailwind, and code Playground

JavaScript

var x = 6;
var y = 7.5;

var res = `${x > 5 && (y == 7.5)}`;

alert(res);