Q. Why shouldn’t JavaScript functions not be too long?
β
Correct Answer: (D)
All of the mentioned
Explanation: 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.