Hey guys, so I’m trying to solve this problem:

Here’s the code I’m using:

```
var twoSum = function(nums, target) {
for(var i = 0;i < nums.length;i++){
if(nums[0] + nums[i] === target){
return ;
}
}
};
```

I’m not sure how to return the indices of the array that gives the target value.

Thanks in advance for the help

Regards

Ma3_stro