boa
boa copied to clipboard
Implement call stack size tracking
ECMAScript feature
Although not strictly in the ECMAScript spec (at least as far as I can find), most engines have a system to track the call stack size and throw an error if it becomes too large. This prevents stack overflows. However, Boa has not implemented this feature, hence why things like this happen:
If call stack size tracking was added, this would help the engine not crash, which is (clearly) a good thing.
Example code
function a() {
a();
}
a();