Add Integer Leetcode Problems Javascript