JSFiddle - React, Tailwind, and code Playground

by nevkatz

HTML

<button onclick="test(event,this)">Button</button>

JavaScript

function test(e,el) {
	
  alert(e + ','+el);
}