Travis build: 1104

This commit is contained in:
30secondsofcode
2019-04-08 18:22:10 +00:00
parent 27b8ca7521
commit 40371f9a6e
6 changed files with 10 additions and 7 deletions

View File

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