DEV Community

Discussion on: How JavaScript Works: An Overview of JavaScript Engine, Heap, and Call Stack

delphinocons profile image
Angelo Hulshout ๐Ÿ‡ฎ๐Ÿ‡น ๐Ÿ‡ณ๐Ÿ‡ฑ

Nice one.
One question, since I donโ€™t know the V8 engine so well: is it the browser that detects the stack overflow or the engine itself? I hope the engine, otherwise it puts the burden of handling the error in any application you embed the engine in.

bipinrajbhar profile image
Bipin Rajbhar Author

Yes, the error is detected by the V8 engine ๐Ÿ˜Š.

๐Ÿ“š Read This Doc: