JSFiddle - React, Tailwind, and code Playground

JavaScript

if(0.5 == ( 0.25 + 0.25))
{
      alert(true);
}
else
{
      alert(false);
}