JSFiddle - React, Tailwind, and code Playground

by WK_of_Angmar

JavaScript

//The double equals DOES NOT compare the type of the variable.
document.write("1" == 1);document.write("<br>");
document.write(1 == 1);document.write("<br><br><br>");

//The triple equals DOES compare the type of the variable.
document.write("1" === 1);document.write("<br>");
document.write(1 === 1);document.write("<br>");