1.twoSum This is my solution for leetcode's problem 1 in JS: Two Sum (https://leetcode.com/problems/two-sum/description/)