Sector file // javascript
JAVASCRIPTDECODED.
Closures, async & the core
165 Questions103.9k Views7.0k Upvotes
41 easy77 med47 hard
Medium
6 questionsHow would you use the BroadcastChannel API to sync application state across multiple open browser tabs?
Frontend ยท 1.1k views ยท messaging, tricky, real-world
Views:1.1kLikes:48
How do you implement a deepFreeze function recursively?
Frontend ยท 935 views ยท objects, recursion, immutability
Views:935Likes:45
How would you remove an item from an array immutably using toSpliced(), and how does it compare to splice()?
Frontend ยท 678 views ยท es2023, tricky, real-world
Views:678Likes:24
How would you combine multiple AbortSignals or add a timeout to a fetch request using AbortSignal.any() and AbortSignal.timeout()?
Frontend ยท 605 views ยท abortsignal, fetch, timeout
Views:605Likes:67
What does `Promise.try()` do and why is it better than `Promise.resolve().then(fn)`?
Frontend ยท 317 views ยท promises, es2024, error-handling
Views:317Likes:5
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
Hard
3 questionsWhat is the Reflect API?
Frontend ยท 884 views ยท reflect
Views:884Likes:64
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
What is a Proxy in JavaScript?
Frontend ยท 42 views ยท proxy
Views:42Likes:14
Seen a JavaScript question that is not here? Add it and help the next candidate.
Share a question