Large number to string is not working

Step 1: log LargeNumberToString(1000000000000000000000000000) to the console

It logs 1e+27