Travis build: 1081

This commit is contained in:
30secondsofcode
2019-03-23 12:11:32 +00:00
parent 601da7eec2
commit 82658749c3
11 changed files with 46 additions and 43 deletions

View File

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