Good morning, am getting stuck with this kata, anyone can explain me ? In this kata i have to return the sum of elements occupying prime-numbered indices. I started my code like that, but didn't know what to do next. THANK YOU in advance.
function total(arr) {
for (let i = 2; i < arr.length; i++) {}
};