Odd odds? Warm up

Write a function where it will take an array of numbers and return true if there are an odd number of odd numbers and return false if there are an even number of odd numbers.

Remember the % (modulo) returns the remainder, so if you want to check if n is even, you say:

if (n % 2 === 0)

You can copy and paste the following to test your code.

function oddOdds(numberArray){

}

oddOdds([1, 1, 3, 4]) // 3
oddOdds([1, 1, 3, 4, 6, 9]) // 4
oddOdds([3, 4, 4, 8, 1, 1, 3, 4, 5, 27]) // 6