Added second example

This commit is contained in:
Michael Gutman
2017-12-24 01:48:04 -05:00
parent fb6b512db0
commit bc13bc03bb

View File

@ -9,6 +9,6 @@ const negate = func => (...args) => {
return !func(...args);
}
// filter([1, 2, 3, 4, 5, 6], negate(isEven));
// => [1, 3, 5]
// filter([1, 2, 3, 4, 5, 6], negate(isEven)) -> [1, 3, 5]
// negate(isOdd)(1) -> false
```