JavaScriptAsync Deep Dive
JavaScript Async Deep Dive — প্রশ্ন/উত্তর
Event loop, microtask-macrotask, Promise combinator, AbortController, debounce-throttling — asynchronous JavaScript-এর মূল বিষয়গুলো।
- Q39. What is the difference between synchronous and asynchronous JavaScript?
- Q40. What is the difference between microtasks and macrotasks?
- Q41. What is the difference between setTimeout(), setInterval(), and requestAnimationFrame()?
- Q42. What is Promise.all(), Promise.allSettled(), Promise.race(), and Promise.any()?
- Q43. How do you handle errors in asynchronous JavaScript?
- Q44. What is AbortController and how is it used to cancel requests?
- Q45. What are debouncing and throttling? Explain with examples.