Leetcode Number To String Typescript Vs Nodejs