и посмотреть медиа
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.
❗️Что будет на выходе: function createCounter() { let count = 0; return { increment: () => ++count, decrement: () => --count, getValue: () => count }; } const counter1 = createCounter(); const counter2 = createCounter(); counter1.increment(); counter1.increment(); counter2.increment(); console.log(counter1.getValue(), counter2.getValue()); counter1.decrement(); console.log(counter1.getValue(), counter2.getValue()); Ответ: 2 1 1 1 JavaScript test | #JavaScript & Max
Открыть канал и посмотреть медиаOnly registered users can share their opinion.
Be the first to share your impression of this resource!