Travis build: 1192

This commit is contained in:
30secondsofcode
2019-06-03 09:01:19 +00:00
parent dc826b589a
commit 6a1fbf9fed
14 changed files with 59 additions and 52 deletions

View File

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