JSFiddle - React, Tailwind, and code Playground

by Somnath Kharat

HTML

<input id="test" type="text" />

JavaScript

var obj1=$("#test");
var obj2=$("#test");
console.log(obj1==obj2);
if(obj1==obj2){
    console.log(true);
}