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