Question 1: What is a callback function in JavaScript?
Question 2: Which method is commonly used to handle asynchronous operations in JavaScript?
Question 3: What does asynchronous programming allow in JavaScript?
Question 4: In JavaScript, which of the following is asynchronous by nature?
Question 5: What is the purpose of the setTimeout() function in JavaScript?
Question 6: Which keyword is used to define an asynchronous function in JavaScript?
Question 7: What will happen if a callback is not handled properly?
Question 8: What does the ‘await’ keyword do in an async function?
Question 9: What is a common use of callbacks in JavaScript?
Question 10: Which of the following is an example of an asynchronous operation?