Total Questions : 10
Expected Time : 10 Minutes

1. How do you handle errors in asynchronous JavaScript code?

2. Which method is used to remove the last element from an array in JavaScript?

3. Which operator is used for strict equality in JavaScript?

4. How do you define a JavaScript class?

5. How do you round the number 7.25 to the nearest integer in JavaScript?

6. What does HTML stand for?

7. Which method is used to add a class to an HTML element in JavaScript?

8. What is the purpose of 'Array.prototype.reduce()' in JavaScript?

9. Which of the following is a benefit of using JavaScript modules?

10. What is the purpose of 'Promise' in JavaScript?