diff --git a/index.html b/index.html index 8eb5fce71..41951b650 100644 --- a/index.html +++ b/index.html @@ -766,7 +766,7 @@ hello();
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');
=> 'hi: moe!'