Travis build: 1384

This commit is contained in:
30secondsofcode
2019-08-22 07:23:26 +00:00
parent f273668f2a
commit 615c5ddea1
9 changed files with 58 additions and 51 deletions

View File

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