Domanda di colloquio di SmartNews

If there is an infinite loop in JavaScript code, what will happen to the code and what will the user experience?