Travis build: 1476

This commit is contained in:
30secondsofcode
2019-09-28 10:39:04 +00:00
parent 744f6939b8
commit 8f7d1bb0c5
12 changed files with 102 additions and 92 deletions

View File

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