hey guys, can anyone clear this out:

This is the correct way:

```
function sumAll(arr) {
var min = Math.min(arr[0], arr[1]);
var max = Math.max(arr[1], arr[0]);
var total = 0;
for(var i=min; i<=max; i++){
total += i; }
return total;
}
sumAll([1, 4]);
```

This is FALSE:

```
function sumAll(arr) {
var min = Math.min(1, 4);
var max = Math.max(1, 4);
var total = 0;
for(var i=min; i<=max; i++){
total += i; }
return total;
}
sumAll([1, 4]);
```

How come?