JSFiddle - React, Tailwind, and code Playground
HTML
<button id=a>
Нажми меня
</button>
JavaScript
var handler = function(e) {
// action
alert(1);
this.removeEventListener('click',arguments.callee);
setTimeout( () => this.addEventListener('click',arguments.callee),3000);
}
document.querySelector("#a").addEventListener('click',handler);
document.querySelector("#a").addEventListener('click',()=> console.log('Нажатие '+Date.now()));