Travis build: 1491

This commit is contained in:
30secondsofcode
2019-10-09 18:11:06 +00:00
parent 6359520626
commit f2b55cdca0
12 changed files with 93 additions and 101 deletions

View File

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