Given an array with an even amount of numbers, return true if the sum of two numbers in the array is even and false if the sum of two numbers in the array is odd.
To illustrate:
11, 15, 6, 8, 9, 10truefalsetruefalsefalseTherefore, solution = [true, false, true, false, false]oddSum([11, 15, 6, 8, 9, 10]) ➞ [true, false, true, false, false]
oddSum([12, 21, 5, 9, 65, 32]) ➞ [false, true, true, true, false]
oddSum([1, 2, 3, 4, 5, 6]) ➞ [false, false, false, false, false]