Travis build: 1179

This commit is contained in:
30secondsofcode
2019-05-30 06:18:50 +00:00
parent e22e2251d2
commit 6b4b006ff1
6 changed files with 8 additions and 2 deletions

View File

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