The garbage can of little pointless scripts that shouldn't exist: JavaScript Edition! (better title needed!

A fast way to crash your browser: function bad_idea { try { bad_idea; } catch (e) { //Muhahahahahahaha } }

...ok, so a modern browser should just lock up for about 30 seconds - 1 min and then prompt you to see if you want the script stoped