Skip to content

Commit 9e6bb88

Browse files
committed
Fixes issue GitbookIO#37
As per hassleg "It's not clear to me what is being asked for in the HOF exercise. A reference is made to a function named add that doesn't exist; I assume this is a typo and that it should be referring to the function named add1. The bigger question is what is meant by the opposite value of that returned by add1? Minus 1?"
1 parent d6de5cd commit 9e6bb88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/higher_order.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ triple(3); // => 9
9090

9191
---
9292

93-
Define a function named `negate` that takes `add1` as argument and returns a function, that returns the opposite of the value returned by `add`. (Things get a bit more complicated ;) )
93+
Define a function named `negate` that takes `add1` as argument and returns a function, that returns the negation of the value returned by `add1`. (Things get a bit more complicated ;) )
9494

9595
```js
9696
var add1 = function (x) {

0 commit comments

Comments
 (0)