JSFiddle - React, Tailwind, and code Playground

by igalst

JavaScript

var a = 5;
var b = "a5";

b = parseInt(b);

if (a === b) {
    console.log("equal", b);
} else {
    console.log("not equal", b);
}