A

Admin • 802.91K Points
Coach

Q. Which statement is used to exit a function early?

  • (A) return
  • (B) exit
  • (C) stop
  • (D) break
  • Correct Answer - Option(A)
  • Views: 7
  • Filed under category JavaScript
  • Hashtags:

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.