Two recursive functions and stackoverflow errors in javascript/nodeJs. Understanding the differences

Looking into the SICP book and JS functional programming I created two recursive functions. My expectation was that both of them raised a stack overflow error.
But it is only the sumAll() function that raised the error. See below the code for both functions sumAll() and factorial():