JavaScript Interview Questions
💡 Click any question to read the full AI-powered answer.
Q101
What primitive types does JavaScript support?
✓ Answered
→
Q102
Is null a primitive type in JavaScript?
✓ Answered
→
Q103
What is the result of typeof null?
✓ Answered
→
Q104
What is the difference between let, const and var?
✓ Answered
→
Q105
What is the difference between null and undefined in JavaScript?
✓ Answered
→
Q106
How do you implement a data structure like a stack or queue in JavaScript?
✓ Answered
→
Q107
What is the purpose of the 'map' function in JavaScript?
✓ Answered
→
Q108
What is the purpose of the 'reduce' function in JavaScript?
✓ Answered
→
Q109
What is the purpose of the 'try-catch' block in JavaScript?
✓ Answered
→
Q110
What is the concept of 'this' in JavaScript and how is it used?
✓ Answered
→
Q111
What is the purpose of the 'map' function in JavaScript?
✓ Answered
→
Q112
What is the purpose of the 'reduce' function in JavaScript?
✓ Answered
→
Q113
What is the difference between null and undefined in JavaScript?
✓ Answered
→
Q114
How do you write a unit test for a JavaScript function using Jest?
✓ Answered
→
Q115
What is the difference between a class and an object in JavaScript?
✓ Answered
→
Q116
What is the purpose of the 'bind' method in JavaScript?
✓ Answered
→
Q117
Explain the concept of polymorphism in JavaScript.
✓ Answered
→
Q118
What is the difference between a GET and a POST request in HTTP?
✓ Answered
→
Q119
Explain the concept of inheritance in JavaScript.
✓ Answered
→
Q120
What is the difference between REST and SOAP APIs?
✓ Answered
→