Sum All Even Numbers in an Array Using forEach
Given an array of numbers, use
forEach to sum all the even numbers in the array. Use the % (modulo) operator to check if a number is even.Premium
JavaScript
Console