via008
Results
comments of
via008
function sum(nums, target){ for(let i = 0; i < nums.length; i ++) { let indexL = nums.indexOf(target - nums[i], i + 1) if(indexL !== -1){ return [i, indexL] } }...