How the V8 engine works
How the V8 engine works
The call stack has a fixed size.
If the number of execution contexts exceed the size of the stack, the browser will throw an stack overflow error.
function func() {
func()
}
func()
main()
func()
func()
func()
func()
func()
func()
func()
func()