Travis build: 909

This commit is contained in:
30secondsofcode
2018-12-17 09:43:27 +00:00
parent 90d5c1622f
commit b933d486c6
20 changed files with 1555 additions and 1894 deletions

View File

@ -5,7 +5,7 @@ Returns a string with whitespaces compacted.
Use `String.prototype.replace()` with a regular expression to replace all occurences of 2 or more whitespace characters with a single space.
```js
const compactWhitespace = str => str.replace(/\s{2,}/g,' ');
const compactWhitespace = str => str.replace(/\s{2,}/g, ' ');
```
```js