Answers for "validar si un numero es par javascript foreach"

0

validar si un numero es par javascript foreach

function consoleEven(arr) {
  let data = arr.forEach((num) => (num % 2 === 0 ? num * 2 : num * 1))
  console.log(data) // undefined
}

consoleEven(arr)
Posted by: Guest on July-12-2021

Code answers related to "validar si un numero es par javascript foreach"

Code answers related to "Javascript"

Browse Popular Code Answers by Language