DEV Community

Discussion on: Oops, I did it again: A guide to debugging common JavaScript errors

Collapse
 
gypsydave5 profile image
David Wickes

First, if you're in an infinite loop, quit the tab if you're in Chrome or Edge, and quit the browser window in FireFox.

FireFox is a lot friendlier than this - you don't need to close the whole browser and you get a nice, friendly message:

too much recursion indeed!