Instructions and covered skills
Read each question carefully before answering. Choose the best possible answer from the provided options. Manage your time wisely; do not spend too long on a single question. Ensure you are in a quiet environment free from distractions. Focus on correctness over speed.
Key Areas
- Creating and resolving Promises
- Chaining .then() and .catch()
- Using Promise.all, Promise.race, Promise.allSettled
- Async function syntax and await operator
- Error handling with try/catch in async functions
- Converting callbacks to Promises
Recommended Preparation
Review the JavaScript event loop, callback patterns, and the differences between synchronous and asynchronous code. Practice refactoring callback hell into promise chains and then into async/await. Understand the static methods of the Promise object.