Leetcode Two Sum Problem In Javascript What Will Be The Result