Travis build: 1403

This commit is contained in:
30secondsofcode
2019-08-27 18:30:12 +00:00
parent a5069fd468
commit a6e9438598
10 changed files with 55 additions and 59 deletions

View File

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