let numbers = [10,20,30,40,50]; let sum = 0; for(let i =0; i< numbers.length; i++) { sum += numbers[i]; } console.log(sum); // Output : 150