Travis build: 1111

This commit is contained in:
30secondsofcode
2019-04-13 07:38:40 +00:00
parent 0a16580474
commit 910dd5c248
7 changed files with 18 additions and 19 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