Skip to content

Commit

Permalink
greet, exclaim -> exclaim, greet. Issue jashkenas#110
Browse files Browse the repository at this point in the history
  • Loading branch information
jashkenas committed Feb 2, 2011
1 parent 6b4fe66 commit bdfd710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ <h2>Function (uh, ahem) Functions</h2>
<pre>
var greet = function(name){ return "hi: " + name; };
var exclaim = function(statement){ return statement + "!"; };
var welcome = _.compose(greet, exclaim);
var welcome = _.compose(exclaim, greet);
welcome('moe');
=&gt; 'hi: moe!'
</pre>
Expand Down

0 comments on commit bdfd710

Please sign in to comment.