removeEventListener(type, handler) {
    for (const listener of this.listeners(type)) {
      if (listener[kListener] === handler && !listener[kForOnEventAttribute]) {
        this.removeListener(type, listener);
        break;
      }
    }
  }
Remove an event listener.

@param {String} type A string representing the event type to remove
@param {(Function|Object)} handler The listener to remove
@public