Travis build: 1072

This commit is contained in:
30secondsofcode
2019-03-19 07:41:59 +00:00
parent 63a70ee86d
commit fdfb1a9b52
9 changed files with 32 additions and 19 deletions

View File

@ -10,6 +10,7 @@ const checkProp = (predicate, prop) => obj => !!predicate(obj[prop]);
```js
const lengthIs4 = checkProp(l => l === 4, 'length');
lengthIs4([]); // false
lengthIs4([1,2,3,4]); // true