Travis build: 1378

This commit is contained in:
30secondsofcode
2019-08-19 15:16:02 +00:00
parent ebbb22db7c
commit 1b8782644c
12 changed files with 75 additions and 74 deletions

View File

@ -13,6 +13,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