How do I control only firing an event once?
Actually, a quick google appears to allude to the fact that .one helps..
Additionally, you can do this:
window.addEventListener("click", function handleClick(e) { window.removeEventListener("click", handleClick); // ... });