code: function simulateEvent(target_object, event_type) {
    if (!exists(target_object)) {
      throw new TypeError('simulateEvent: target object must be defined');
    }
  
    if (typeof event_type !== 'string') {
      throw new TypeError('simulateEvent: event type must be a string');
    }
  
    var event = setupEvent(event_type);
    fireEvent(target_object, event, event_type);
  }
docs: Fires an event of provided type on provided object
  @param {Object} target_object Any object that can fire an event
  @param {string} event_type Event identifier
  @example
  simulateEvent(window, 'scroll');