diff --git a/js2.html b/js2.html index 4c2a2b1..e695ac2 100644 --- a/js2.html +++ b/js2.html @@ -729,7 +729,7 @@

21. Currying

To use it: Just pass the argument to the function.curry method and a function will be returned. Use returned function for further currying


-function converter = function(factor, symbol, input){
+var converter = function(factor, symbol, input){
   return input * factor + symbol;
 }