Preview:
const myArr = [2, 3, 4, 5, 6];
let total = 0

for(let i = 0; i < myArr.length; i++){
  total += myArr[i]
}

//Mind: dont use ".length-1" because ???
//		dont use "push" as we don't add numbers to an array, but add each value accumulating 		 to a the variable "total"
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter