Sector file // javascript
JAVASCRIPTDECODED.
Closures, async & the core
165 Questions103.9k Views7.0k Upvotes
41 easy77 med47 hard
Medium
3 questionsHow do you handle asynchronous operations in JavaScript?
Frontend ยท 784 views ยท async, promises, async/await
Views:784Likes:78
What does queueMicrotask() do, and how does its callback ordering compare to a resolved Promise .then() and setTimeout(fn, 0)?
Phone Screen ยท 499 views ยท event-loop, microtask, queuemicrotask
Views:499Likes:32
What is `scheduler.yield()` and how does it prevent main-thread blocking?
Frontend ยท 142 views ยท scheduler, performance, event-loop
Views:142Likes:51
Hard
3 questionsExplain the event loop, call stack, and task queues.
Frontend ยท 1.2k views ยท event-loop
Views:1.2kLikes:48
In what order do console.log, setTimeout, and Promise.then run?
Frontend ยท 775 views ยท event-loop, order
Views:775Likes:11
What is the difference between microtasks and macrotasks?
Frontend ยท 417 views ยท event-loop, microtask
Views:417Likes:71
Seen a JavaScript question that is not here? Add it and help the next candidate.
Share a question