Q. What is the default return value of a function with no return statement?

  • (A) null
  • (B) 0
  • (C) undefined
  • (D) false
πŸ’¬ Discuss
βœ… Correct Answer: (C) undefined
Explanation: A function with no return returns undefined.
Explanation by: Chandani
A function with no return returns undefined.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
99
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Chandani
Publisher
πŸ“ˆ
93%
Success Rate