Travis build: 1311

This commit is contained in:
30secondsofcode
2019-07-20 09:39:17 +00:00
parent 63783ad82a
commit d41b86fa31
5 changed files with 8 additions and 5 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