Travis build: 1474

This commit is contained in:
30secondsofcode
2019-09-28 10:18:08 +00:00
parent 462b06e282
commit c913e38cf6
13 changed files with 159 additions and 100 deletions

View File

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