Sector file // javascript
JAVASCRIPTDECODED.
Closures, async & the core
165 Questions103.9k Views7.0k Upvotes
41 easy77 med47 hard
Easy
2 questionsMedium
3 questionsHow do you implement a deepFreeze function recursively?
Frontend ยท 935 views ยท objects, recursion, immutability
Views:935Likes:45
Why is navigator.sendBeacon() the right tool for sending analytics data when a user closes a tab, instead of a normal fetch call?
Frontend ยท 577 views ยท utility, tricky, real-world
Views:577Likes:64
How would you implement a debounce utility that also exposes a .cancel() method to cancel a pending call?
Frontend ยท 397 views ยท utility, tricky, real-world
Views:397Likes:48
Hard
2 questionsHow 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 would you implement a throttle function with configurable leading- and trailing-edge execution?
Frontend ยท 332 views ยท utility, tricky, real-world
Views:332Likes:0
Seen a JavaScript question that is not here? Add it and help the next candidate.
Share a question