Hi @CryptoVic,
No problem at all — it’s best not to rush these exercises! Take your time… we’re here to help and review whenever you’re ready.
Sum of a Range
Great!
That’s an original solution you’ve come with, especially how in sum()
you’ve decided to iterate backwards through the array removing each number with pop()
as it’s counted. Very clever! 
So, that’s the first part sorted. Whenever you’re ready, you now need to try adding functionality to…
- handle reverse arrays (where
start > end
); and
- handle varying increments/decrements between the numbers in the array, by introducing a 3rd
step
parameter.
This is all explained in the exercise instructions in the course book, and if you need a bit more help getting started you can always look at the hints (which you can display by clicking below the exercise instructions). But just let us know if you need any additional support, or don’t understand something.
Reversing an Array
Your solution for the 2nd part (reversing the array in place) is good
You successfully return a reversed array, and the original input array is also reversed, which you can confirm by logging arr
to the console:
console.log(arr);
Some observations:
- Your
console.log
is missing a closing bracket.
- There is no need to first declare
temp
as undefined before the for
loop, and then assign it the array index within the for
loop. You can do both together in the for
loop:
let temp = arr[i];
- If an arrow function only has one parameter, you can omit the brackets:
const reverseInPlace = arr => { ... };
Otherwise, nice use of an arrow function 
For Part 1, you’ve cheated 
The idea is to reverse the array without using the reverse()
array method — this time returning a new array which is the reverse of the input array, with the input array remaining unchanged. Have another look at this part.
Keep at it — you’re making great progress! 