Home »
MCQs »
JavaScript MCQs
What is the default value of an uninitialized variable?
25. What is the default value of an uninitialized variable?
- 0
- undefined
- null
- NaN
Answer: B) undefined
Explanation:
The default value of an unfinalized variable is undefined.