Operational Procedures
What is the most likely cause when a script makes a browser freeze and then crash?
Show the answer
Correct answerB. An endless loop that keeps consuming memory
AWhy not this: Comments are ignored when the script runs, so they use no resources and cause no crash.
BWhy this is right: Runaway loops use up memory and CPU without releasing them, which freezes and crashes the browser or system.
CWhy not this: A time zone setting changes displayed time and does not drain resources.
DWhy not this: Data-stealing code is a malware risk and does not typically exhaust memory or cause a crash.
A loop that never ends and keeps using memory or CPU without releasing it exhausts resources and crashes the browser or system. A hidden payload is a malware risk and does not normally cause this kind of resource crash.