и посмотреть медиа
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.
Что будет на выходе: class DataProcessor { constructor(transform) { this.transform = transform; } process(data) { return this.transform(data); } } const multiply = x => x * 2; const addTen = x => x + 10; const toString = x => `Result: ${x}`; const compose = (...fns) => x => fns.reduceRight((acc, fn) => fn(acc), x); const processor = new DataProcessor(compose(toString, addTen, multiply)); console.log(processor.process(5)); Ответ: Result: 20 JavaScript test | #JavaScript & Max
Открыть канал и посмотреть медиаOnly registered users can share their opinion.
Be the first to share your impression of this resource!