Travis build: 1216

This commit is contained in:
30secondsofcode
2019-06-06 05:41:53 +00:00
parent e0285c79a8
commit 5e9e54fe18
13 changed files with 54 additions and 51 deletions

View File

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