code: function Image() {
    if (!this) return new Image();
  
    this.url = null;
  
    EventEmitter.call(this);
  
    setTimeout(function timeout() {
      if (this.onerror) this.on('error', this.onerror);
      if (this.onload) this.on('load', this.onload);
    }.bind(this));
  }
docs: Image instance.
  
  @constructor
  @param {String} url URL we want to connect to
  @api private
   /* istanbul ignore next