JSFiddle - React, Tailwind, and code Playground
by jonahe
HTML
<button onclick="window.handleClick.bind(this)()">
test
</button>
JavaScript
window.handleClick = function() {
let a = this;
debugger;
}
by jonahe
<button onclick="window.handleClick.bind(this)()">
test
</button>
window.handleClick = function() {
let a = this;
debugger;
}