Fix typos

This commit is contained in:
Chalarangelo
2022-07-16 17:25:46 +03:00
parent 48c2a460ad
commit dac3814423
3 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,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 a series of `String.prototype.replace()` calls with various regexps 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).
- 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
const URLJoin = (...args) =>