JavaScript One Off Event Event

EventTarget.addEventListener("click", function() {
    // Do something
}, {once : true});
Plain Pollan