0
1
Filter odd numbers from an array
0 Comments
const newArray = originalArray.filter((number) => number % 2 !== 0);