This is my code so far

```
var arraySum = function(numbers) {
var sums = [];
var sum = 0;
//write your code here
for(var i = 0; i < numbers.length; i++) {
for(var j = 0; j < numbers[i].length; j++) {
sum += numbers[i][j]
}
sums.push(sum)
}
return sums;
}
```

The expected output for `arraySum([1,2,3,4], [5,6,7], [8,9,10,11,12])`

is `[10,18,50]`

. But my own output is `10,28,78`