Method 1: Using for loop. We are simply going to iterate over all the elements of the array using a Javascript for loop to find the sum.
確定! 回上一頁