Sector file // javascript
JAVASCRIPTDECODED.
Closures, async & the core
165 Questions103.9k Views7.0k Upvotes
41 easy77 med47 hard
Easy
3 questionsMedium
5 questionsHow do you implement a deepFreeze function recursively?
Frontend ยท 935 views ยท objects, recursion, immutability
Views:935Likes:45
What does `using` / `await using` do for Explicit Resource Management (ES2024)?
Frontend ยท 420 views ยท es2024, using, resource
Views:420Likes:27
How would you use Reflect.ownKeys() inside a Proxy to correctly enumerate both string and symbol keys, including non-enumerable ones?
DSA ยท 267 views ยท reflect, tricky, real-world
Views:267Likes:46
When would you reach for Map.groupBy() instead of Object.groupBy(), and what problem does it solve with non-string keys?
Frontend ยท 246 views ยท es2024, tricky, real-world
Views:246Likes:40
What are computed property names?
Frontend ยท 244 views ยท computed-properties
Views:244Likes:38
Hard
12 questionsWhat are async iterators and for await...of?
Frontend ยท 1.0k views ยท async-iterators
Views:1.0kLikes:16
How would you make a custom class iterable with for...of by implementing Symbol.iterator as a generator method?
DSA ยท 936 views ยท iterators, tricky, real-world
Views:936Likes:11
What is the Reflect API?
Frontend ยท 884 views ยท reflect
Views:884Likes:64
What are Symbols and what are they used for?
Frontend ยท 874 views ยท symbol
Views:874Likes:64
What is a generator function?
Frontend ยท 806 views ยท generators
Views:806Likes:44
How would you write a deep-clone function that correctly handles a self-referencing (circular) object without infinite recursion?
DSA ยท 529 views ยท utility, tricky, real-world
Views:529Likes:76
How do you combine Stage 3 decorators with `using` for auto-disposable resources?
Frontend ยท 457 views ยท decorators, using, resource
Views:457Likes:73
How do iterators and the iterable protocol work?
Frontend ยท 433 views ยท iterators
Views:433Likes:15
Seen a JavaScript question that is not here? Add it and help the next candidate.
Share a question