How to create a JavaScript program to sum up all the numbers that can get divided by 2!
In this article let us create a Javascript program that will sum up all the numbers within an array that can get divided by 2. For example, in the array [1,2,3] the only number which can get divided by 2 is 2 therefore the total of the outcome is 0 + 2 + 0 =…