Q. What is the default return value of a function that doesn't return anything?

  • (A) undefined
  • (B) null
  • (C) false
  • (D) 0
πŸ’¬ Discuss
βœ… Correct Answer: (A) undefined
Explanation: Functions without return statements return undefined by default.
Explanation by: Mr. Dubey
Functions without return statements return undefined by default.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
71
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
87%
Success Rate