code: function jURL(url, base /* , encoding */) {
      if (base !== undefined && !(base instanceof jURL))
        base = new jURL(String(base));
  
      this._url = url;
      clear.call(this);
  
      var input = url.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g, '');
      // encoding = encoding || 'utf-8'
  
      parse.call(this, input, null, base);
    }
docs: Does not process domain names or IP addresses. Does not handle encoding for the query parameter.