Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think I figured it out. It does cause an infinite loop, but Chrome throws a "Range Error: Max Call Stack Exceeded", which then gets trapped by the try/catch block.

Firefox does a similar thing, by throwing a "too much recursion" error.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: