The removeEventListener of EventTarget for JS removes the event listener in target’s event listener list with the same type, callback, and options.
target.removeEventListener(type, callback [, options])
The type of event.
The callback that will be invoked when the event is dispatched.
Allows setting the capture, once, passive, and signal attributes.