maxStackSize

How deep, in bytes of native stack, a script may recurse before it gets a RangeError. It has to fit in the stack of the thread the engine runs on, with room left for the host's own frames: the default suits the 1 MiB a JVM or Android thread has, and a thread with a smaller stack, such as a secondary thread on iOS at 512 KiB, needs a smaller value. On JavaScript and WebAssembly the browser's own stack runs out first, so the limit there is 256 KiB at most, about 800 plain calls.