Combines URLs.
合并 URLs。
The base URL. 基础 URL
The URLs to combine. 要合并的 URL
The combined URL. 合并后的 URL
combineURLs('http://example.com', 'foo', 'bar') // => http://example.com/foo/barcombineURLs('//example.com', '/foo') // => //example.com/foocombineURLs('/foo', 'bar', 'index.html') // => /foo/bar/index.html Copy
combineURLs('http://example.com', 'foo', 'bar') // => http://example.com/foo/barcombineURLs('//example.com', '/foo') // => //example.com/foocombineURLs('/foo', 'bar', 'index.html') // => /foo/bar/index.html
Combines URLs.
合并 URLs。