Update formatting

This commit is contained in:
Isabelle Viktoria Maciohsek
2022-01-30 18:34:36 +02:00
parent ae1828e42f
commit fab0a7fa3b
6 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,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 `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).
```js