Fix typos
This commit is contained in:
@ -9,7 +9,7 @@ lastUpdated: 2020-10-22T20:24:44+03:00
|
||||
|
||||
Joins all given URL segments together, then normalizes the resulting URL.
|
||||
|
||||
- Use `String.prototype.join()` to combine URL segments.
|
||||
- Use `Array.prototype.join()` to combine URL segments.
|
||||
- Use a series of `String.prototype.replace()` calls with various regular expressions to normalize the resulting URL (remove double slashes, add proper slashes for protocol, remove slashes before parameters, combine parameters with `'&'` and normalize first parameter delimiter).
|
||||
|
||||
```js
|
||||
|
||||
Reference in New Issue
Block a user