Sum Of Two Number Leetcode Javascript Problems