A

Admin • 828.03K Points
Coach

Q. What is the default value of an uninitialized variable in JavaScript?

  • (A) undefined
  • (B) null
  • (C) 0
  • (D) NaN
  • Correct Answer - Option(A)
  • Views: 10
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
In JavaScript, uninitialized variables have the value 'undefined'.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.