JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://getfirebug.com/firebug-lite-debug.js"></script>

JavaScript

try {

    console.log( jQuery("body").length === 1 ); // true
    
    jQuery = $ =( function (r) {return function jQuery(a,b){
      if(a.charAt(0)==='#') 
        a=a.replace(/</g,'')
      // 'return' was missing here.
      return r.apply(null,[a,b])
     }
    })(jQuery);


    console.log( jQuery("body").length === 1 ); // true
} catch (e) {
    console.log( e.message );    
}