The EventTarget.removeEventListener() method removes the event listener previously registered with EventTarget.addEventListener().