πŸ“Š JavaScript
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

πŸ‘οΈ
53
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
84%
Success Rate