code: function absoluteUrl (baseUrl, pathUrl) {
    if (pathUrl && pathUrl.slice(0, 4) !== 'http') {
      return [baseUrl, pathUrl].map((path) => {
        if (path[0] === '/') {
          path = path.slice(1)
        }
        if (path[path.length - 1] === '/') {
          path = path.slice(0, path.length - 1)
        }
        return path
      }).join('/')
    }
  
    return pathUrl
  }
docs: Return an absolute URL
  @method absoluteUrl
  
  @param baseUrl {string} URL to be used as base
  @param pathUrl {string} Absolute or relative URL
  
  @return {string}