Travis build: 1401

This commit is contained in:
30secondsofcode
2019-08-27 17:19:04 +00:00
parent 60c9e63036
commit dbe7ffaaf8
9 changed files with 58 additions and 51 deletions

View File

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