2

PHOTO EMBED

Sun Oct 16 2022 03:50:48 GMT+0000 (Coordinated Universal Time)

Saved by @Vrushabh_123

const numList = [1, 3, 55, 22, 44]

function oddAndEvenSumReducer(accumulator, value) {
  // write your code here
}

const oddAndEvenSum = numList.reduce(oddAndEvenSumReducer)
content_copyCOPY