Total Questions : 20
Expected Time : 20 Minutes

1. What is the purpose of the 'bind' method in JavaScript?

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

3. What is the purpose of 'console.log()' in JavaScript?

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

5. Which of the following is a falsy value in JavaScript?

6. What is the result of the expression '2 + 2' in JavaScript?

7. What is the purpose of the 'async' keyword in JavaScript?

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

9. How do you write an IF statement in JavaScript?

10. What is the purpose of the 'addEventListener()' method in JavaScript?

11. What is the purpose of 'document.getElementById()' in JavaScript?

12. What does CSS stand for?

13. What is the purpose of 'Array.prototype.filter()' in JavaScript?

14. Which function is used to parse a JSON string in JavaScript?

15. How do you create a comment in JavaScript?

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

17. What is the purpose of 'setTimeout()' in JavaScript?

18. How do you create an object in JavaScript?

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

20. What is the purpose of the 'fetch' function in JavaScript?