You know, when there are too many function calls, such as infinite recursive function call, it gives an error, such as Uncaught RangeError: Maximum call stack size exceeded
.
(function a() {a()})(); // Uncaught RangeError: Maximum call stack size exceeded
I want to know the way to get the maximum call stack size with Javascript. I think there would be only engine/runtime/browser-specific ways to do it, though.