Travis build: 1443

This commit is contained in:
30secondsofcode
2019-09-12 18:20:22 +00:00
parent f6ceb5b719
commit 114b82b6d7
12 changed files with 89 additions and 94 deletions

View File

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