и посмотреть медиа
Prueba de JavaScript - comprobación de conocimientos
и посмотреть медиа
Canal con pruebas para comprobar el conocimiento de JavaScript. Tareas prácticas para la autoevaluación de nivel.
Plataforma para probar habilidades JavaScript. Publica regularmente tareas de dificultad variable, ayudando a identificar lagunas de conocimiento y prepararse para tareas de desarrollo reales.
❓Что будет на выходе? const curry = (fn) => { const arity = fn.length; return function curried(...args) { if (args.length >= arity) { return fn(...args); } return (...moreArgs) => curried(...args, ...moreArgs); }; }; const volume = (l, w, h) => l * w * h; const curriedVolume = curry(volume); const withLength5 = curriedVolume(5); const withLength5Width3 = withLength5(3); console.log(typeof withLength5); console.log(typeof withLength5Width3); console.log(withLength5Width3(4)); console.log(curriedVolume(2)(6)(7)); Ответ: function function 60 84 JavaScript test | #JavaScript & Max
Открыть канал и посмотреть медиаSolo los usuarios registrados pueden compartir su opinión.
¡Sé el primero en compartir tu experiencia con este recurso!