JavaScript infinite alert prank lands 13-year-old Japanese girl in hot water

Found on Ars Technica on Saturday, 09 March 2019
Browse Legal-Issues

The malicious code in question? An infinite loop that popped up an alert message, immediately showing a new message each time you click OK.

The code itself is extraordinarily simple; it's literally nothing more than an infinite loop and an alert box that prints a kaomoji and a short message that translates as "It's no use closing it so many times."

This is just ridiculous and police should not waste its time with things like that.