и посмотреть медиа
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 wm = new WeakMap(); let obj1 = { name: 'John' }; let obj2 = { name: 'Jane' }; wm.set(obj1, 'developer'); wm.set(obj2, 'designer'); console.log(wm.get(obj1)); console.log(wm.has(obj2)); obj1 = null; console.log(wm.get(obj1)); const normalObj = {}; try { wm.set('string', 'value'); } catch (e) { console.log('error'); } Ответ: developer true undefined error JavaScript test | #JavaScript & Max
Открыть канал и посмотреть медиаOnly registered users can share their opinion.
Be the first to share your impression of this resource!