7 terms
Async/await in browser JavaScript is syntax for writing promise-based asynchronous code that reads like sequential code without blocking the page.
An event listener is a function registered on a DOM object that the browser calls whenever a specified event, such as a click or keypress, occurs.
The event loop is the browser scheduling model that runs JavaScript tasks, drains microtasks and decides when the page renders on a single thread.
The Fetch API is the promise-based browser JavaScript interface for making HTTP requests and reading responses as text, JSON, binary data or streams.
A Promise in browser JavaScript is an object representing the eventual result of an asynchronous operation, either a fulfilled value or a rejection.
A service worker is a background script in browser JavaScript that intercepts network requests, enabling offline pages, caching and push messages.
A web worker is a browser JavaScript thread that runs scripts in the background, keeping heavy computation off the main thread and the page responsive.