A

Admin • 833K Points
Coach

Q. Why shouldn’t JavaScript functions not be too long?

  • (A) User friendliness
  • (B) Tie up event loops
  • (C) Browser becomes unresponsive
  • (D) All of the mentioned
  • Correct Answer - Option(D)
  • Views: 23
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

The client-side JavaScript functions must not run too long: otherwise they will tie up the event loop and the web browser will become unresponsive to user input.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.