JSFiddle - React, Tailwind, and code Playground

by Lars Holm Jensen

HTML

<button id="output" onclick="testfun(this)" >TEST</button>

JavaScript

function testfun(sender){
	//let e = document.getElementById("output");
  console.log(this);
  console.log(sender);
  console.log(event);
}

console.log("HELLO");