Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1
1. What is JavaScript?
2. Explain the difference between var, let, and const.
3. What are data types in JavaScript? 4. What is hoisting in JavaScript? 5. Explain closures and provide an example. 6. What is the this keyword, and how does it behave differently in various contexts? 7. What are arrow functions, and how do they differ from regular functions? 8. Explain the concept of callback functions. 9. What is the Document Object Model (DOM)? 10. How do you select elements in the DOM using JavaScript? 11. Explain event delegation. 12. What are promises in JavaScript? 13. What is async/await, and how do they help in asynchronous programming? 14. What is the difference between == and ===? 15. Explain what a prototype is in JavaScript. 16. What are ES6 features that you know of (e.g., template literals, destructuring, modules)? 17. What are higher-order functions in JavaScript? 18. Explain the map(), filter(), and reduce() array methods. 19. What is event bubbling and event capturing? 20. What are JavaScript modules, and how do you use import and export? 21. How does localStorage and sessionStorage work? 22. Explain the concept of debouncing and throttling in JavaScript. 23. What is the difference between synchronous and asynchronous code? 24. How does error handling work in JavaScript (try...catch)? 25.What is JSON, and how is it used with JavaScript?