Add Two Integer Leetcode Javascript Question