JSFiddle - React, Tailwind, and code Playground

by karim79

HTML

<div id="test">test</div>

JavaScript

var foo = "bar";


$("#test").on("click", function () {
   debugger;
   foo = "baz"; 
    
});