JavaScript Interview Questions
- Q1. What are global variables?
- Q2. What are template literals in ECMAScript 6?
- Q3. What are the differences between variables created using let, var or const?
- Q4. What is Hoisting in JavaScript?
- Q5. What is the purpose of double exclamation?
- Q6. In JavaScript, what is the difference between var x = 1 and x = 1?
- Q7. How do you assign default values to variables?
- Q8. What is variable shadowing in javascript?
- Q9. Explain var self = this in JavaScript?
- Q10. What are the different data types in JavaScript?