AdiA
Reactiflux4y ago
10 replies
Adi

✅ – Adi – 17-58 Jul 14

Is it ok to directly pass arguments to function as params in event listener callbacks?
eg: btn2.addEventListener("click", this.requestPermission(registration));
Was this page helpful?