Travis build: 1386

This commit is contained in:
30secondsofcode
2019-08-22 07:37:04 +00:00
parent fe4aa164d1
commit 0d667e6183
9 changed files with 52 additions and 57 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