Travis build: 1237

This commit is contained in:
30secondsofcode
2019-06-14 06:06:59 +00:00
parent 4b6affd8d3
commit 6831508aa4
4 changed files with 4 additions and 1 deletions

View File

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