Travis build: 1272

This commit is contained in:
30secondsofcode
2019-07-04 20:26:55 +00:00
parent 3e4436e9a2
commit c908876d7b
5 changed files with 14 additions and 11 deletions

View File

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