Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

145
Vistas
how does javascript currying function actually works?

i've been having a lot of trouble understand how this currying function actually works and what exactly its doing ?

   Function.prototype.curry = function() {
   var fn = this, args = Array.prototype.slice.call(arguments);
   return function() {
     return fn.apply(this, args.concat(
       Array.prototype.slice.call(arguments)));
   };
 };

because im only familiar with this type of currying function:

function curry(f) { 
  return function(a) {
    return function(b) {
      return f(a, b);
    };
  }
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda