On this question, How do you force Chrome pages/tabs to crash using JavaScript?, my answer:
Was deleted. Why? I can see that the question asks for a "javascript way", but two other answers do not involve javascript (including one with 8 votes and no downvotes), and in the comments the OP shows that he does not need it to be javascript but just wanted to force a crash to experiment.
Sorry this is old, but it just came to my attention now when I was looking for it.