πŸ“Š JavaScript
Q. Which statement is used to exit a function early?
  • (A) return
  • (B) exit
  • (C) stop
  • (D) break
πŸ’¬ Discuss
βœ… Correct Answer: (A) return

Explanation: The 'return' statement exits a function and optionally returns a value.

Explanation by: Mr. Dubey
The 'return' statement exits a function and optionally returns a value.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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