Travis build: 1175

This commit is contained in:
30secondsofcode
2019-05-29 06:19:16 +00:00
parent 7db36a21d1
commit 9063fad13d
5 changed files with 12 additions and 6 deletions

View File

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