Jul 7, 2024
async/await
functions.console.log(1)
→ Logs 1
console.log(2)
→ Logs 2
Example: Geolocation API getCurrentPosition
success
and error
callbacks.SetTimeout: Example explaining delay
Microtask Queue: Prioritized over Task Queue.
Example: Fetch API Invocation
Promise
object; background network request starts.