Sector file // javascript
JAVASCRIPTDECODED.
Closures, async & the core
165 Questions104.3k Views7.0k Upvotes
41 easy77 med47 hard
Easy
1 questionMedium
3 questionsHow does WeakMap allow garbage collection of keys?
Frontend ยท 1.1k views ยท weakmap, garbage-collection, memory
Views:1.1kLikes:35
What is event delegation?
Frontend ยท 817 views ยท event-delegation
Views:817Likes:39
Why would you choose a WeakSet over a Set to track a group of DOM elements, and what happens to its entries once those elements are removed?
Frontend ยท 356 views ยท weakset, tricky, real-world
Views:356Likes:63
Hard
3 questionsHow would you make a custom class iterable with for...of by implementing Symbol.iterator as a generator method?
DSA ยท 939 views ยท iterators, tricky, real-world
Views:939Likes:11
What are WeakMap and WeakSet?
Frontend ยท 214 views ยท weakmap
Views:214Likes:62
What problem do WeakRef and FinalizationRegistry solve, and why should they be used carefully?
DSA ยท 127 views ยท weakref, finalizationregistry, garbage-collection
Views:127Likes:23
Seen a JavaScript question that is not here? Add it and help the next candidate.
Share a question