
7 Days of JS: Even or Odd
30 November 2019
Welcome to day 2 of 7 Days of JavaScript!
Let’s begin our journey today. We need to write a function that takes an array and gives back two values: one with the sum of all the odd numbers of the array, and other with the sum of all the even numbers on the array.
It can’t be that hard right?
You can read the solution to today’s challenge here.