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;
}