Travis build: 1416

This commit is contained in:
30secondsofcode
2019-08-30 16:54:50 +00:00
parent 37bab8ea6d
commit f42d0dccc3
10 changed files with 61 additions and 53 deletions

View File

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