Easy
Which method ensures that the event handler inside the code below only executes once, regardless of how many times the event is triggered?
1const button = document.getElementById("submit-btn");2button.addEventListener("click", () => {3 console.log("Button clicked!");4});