Travis build: 1255

This commit is contained in:
30secondsofcode
2019-06-26 05:38:00 +00:00
parent f4df77d62f
commit 0d683277af
3 changed files with 3 additions and 0 deletions

View File

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