и посмотреть медиа
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 Calculator { constructor(value) { this.value = value; } add(num) { this.value += num; return this; } getValue = () => this.value; } const calc = new Calculator(10); const addMethod = calc.add; const getValueMethod = calc.getValue; addMethod.call({value: 5}, 3); console.log(calc.getValue()); console.log(getValueMethod()); Ответ: 10 10 JavaScript test | #JavaScript & Max
Открыть канал и посмотреть медиаOnly registered users can share their opinion.
Be the first to share your impression of this resource!