EventDispatcher.prototype.dispatchEvent = function (event) {
  const self = this

  forEach(this._handlers[event.type], (callback) => {
    const context = callback[1] || self