Nuestro conocimiento compartido. Nuestro tesoro compartido. Wikipedia.
ShareCode
Permalink: http://www.treeweb.es/u/974/ 01/02/2011

ShareCode

1 2 3 4 5 function add(a) {6  return function(b){7  if ('undefined' == typeof b) {8  return a;9  } else {10  return add(a+b);11  }12  };13 }14 15 var sum = add(1)(3)(4)(6)();16 17 alert(sum);
Enlace
El enlace para compartir es: