Travis build: 1244

This commit is contained in:
30secondsofcode
2019-06-18 05:38:02 +00:00
parent 83a6a6ea32
commit d8a1813810
3 changed files with 3 additions and 0 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