I get a 'too much recursion' error in my javascript project. I've got huge expirience with JS but never got this error before. Does anyone have any suggestions what could be causing this?
Actually, the problem was in the old machine on which i tested the scripts. Turns out, that each browser has a max amount of memory for script execution. I'm creating a lot (unlimited) of objects, which are members of the window object and the old machine can't take it It runs just fine on a newer machine, so i've got no more worries. I changed some stuff and will test it again later, maybe it will run well on that old machine as well, but even if it doesn't, this shall not be a big problem considering the systems that will actually use the scripts are much faster.. Thanks