Travis build: 1411

This commit is contained in:
30secondsofcode
2019-08-29 11:45:51 +00:00
parent 5a8271f47e
commit 0a282d32f2
9 changed files with 52 additions and 57 deletions

View File

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