Skip to content

Commit

Permalink
Merge pull request GitbookIO#43 from svenkatreddy/patch-1
Browse files Browse the repository at this point in the history
Fix GitbookIO#37 ( opposite value is unclear in HOF exercise )
  • Loading branch information
SamyPesse committed Apr 17, 2014
2 parents d6de5cd + 9e6bb88 commit add3ef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/higher_order.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ triple(3); // => 9

---

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 ;) )
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 ;) )

```js
var add1 = function (x) {
Expand Down

0 comments on commit add3ef5

Please sign in to comment.