Travis build: 1287

This commit is contained in:
30secondsofcode
2019-07-11 07:22:52 +00:00
parent b9d2a302c5
commit 5eb9bb3187
13 changed files with 54 additions and 51 deletions

View File

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