3 ms·Sidenote: when you run the recursive function factorial(1000), Node.js returns "Infinity".by RyanMcGreal 13y agoSidenote: when you run the recursive function factorial(1000), Node.js returns "Infinity".dmm 13y agoBecause javascript has only one numerical type: double float?wging 13y ago> fact(1000) Infinity > fact(10000000) RangeError: Maximum call stack size exceeded