Travis build: 911 [cron]

This commit is contained in:
30secondsofcode
2018-12-17 14:36:02 +00:00
parent b933d486c6
commit e89d5fab14
9 changed files with 1996 additions and 1942 deletions

View File

@ -294,6 +294,13 @@
],
"description": "Removes falsey values from an array.\n\nUse `Array.prototype.filter()` to filter out falsey values (`false`, `null`, `0`, `\"\"`, `undefined`, and `NaN`)"
},
"compactWhitespace": {
"prefix": "30s_compactWhitespace",
"body": [
"const compactWhitespace = str => str.replace(/\\s{2,}/g, ' ');"
],
"description": "Returns a string with whitespaces compacted.\n\nUse `String.prototype.replace()` with a regular expression to replace all occurences of 2 or more whitespace characters with a single space"
},
"compose": {
"prefix": "30s_compose",
"body": [