算法:求两数之和对应数组的下标
nums = [2,3,4,5,6,7,86,5,6,4] target= 11 两数之和等于11的下标 [3,4]var twoSum = function(nums, target) { if (target === 0) { let i = nums.indexOf(0); let p = -1 if (i > -1) p = nums.slice(i+1).indexOf(0); if (p > -1) retu