JSFiddle - React, Tailwind, and code Playground

JavaScript

var x = 0.1, y = 0.2;
alert(x+y);
alert((x+y)===0.3);