JavaScript error in IE - "Stack overflow at Line 0"

Skip to first unread message


Jan 30, 2013, 2:40:27 PM1/30/13
As a followup to the last meetup...

Original question here in 2008:

From the highest voted answer:

I ran into this problem recently and wrote up a post about the particular case in our code that was causing this problem.

The quick summary is: recursion that passes through the host global object is limited to a stack depth of 13. In other words, if the reference your function call is using (not necessarily the function itself) was defined with some form = function, then recursing through foo is limited to a depth of 13.

So it was in fact about recursion and a limited stack depth, as I tried recalling at the Geronimo meetup, but the kicker is that it impacts recursion through  "window.someFunction".

In other words, I'll be using jslint/jshint to help identify undeclared var's.


Diego Scataglini

Jan 30, 2013, 6:44:01 PM1/30/13


You received this message because you are subscribed to the Google Groups "newhaven.rb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
For more options, visit

Reply all
Reply to author
0 new messages