Skip to content

Glossary: Data Structures and Algorithms in JavaScript

RangeError: Maximum call stack size exceeded

Also written: RangeError

The error JavaScript throws when recursion goes too deep, usually because of a missing base case or a very long input. Use a loop for long flat arrays.

Where the book teaches it

Related terms

Base caseCall stack