и посмотреть медиа
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 weakMap = new WeakMap(); const objs = [{}, {}, {}]; objs.forEach((obj, index) => weakMap.set(obj, index + 1)); const result = objs.filter(obj => weakMap.has(obj)).map(obj => weakMap.get(obj) * 2); console.log(result); Ответ: [2, 4, 6] JavaScript test | #JavaScript & Max
Открыть канал и посмотреть медиаOnly registered users can share their opinion.
Be the first to share your impression of this resource!