и посмотреть медиа
JavaScript test - knowledge check
и посмотреть медиа
Channel with tests to check JavaScript knowledge. Practical tasks for self-assessment of level.
Platform for testing JavaScript skills. Regularly publishes tasks of varying difficulty, helping identify knowledge gaps and prepare for real development tasks.
❓Что будет на выходе? 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
Открыть канал и посмотреть медиаOnly registered users can share their opinion.
Be the first to share your impression of this resource!