JSFiddle - React, Tailwind, and code Playground

by FiNGAHOLiC

HTML

<span class='test'>test</span>

JavaScript

var t = $('.test');
var s = $('.test');

if (t.is(s)) {
    console.log('yes');
 }