Please correct me, they called the police to arrest a teenager because are horrible programmers? I won't justify the girl, but in that case I should say, do a favour, debug it and shut up.
The girl wasn't even a programmer. All she did was post a link to a joke site that shows infinite alert dialogs, which reportedly isn't even a problem with modern browsers.
Any modern browser will show a checkbox on the second alert dialog to disallow further dialogs.