Leetcode Array Two Sum Problem In Javascript How To Create