showing results for - "filter array of even numbers"
Lou-Anne
17 Mar 2019
1var arr1 = [-200, -163, -26, -4, 0, 7, 76];
2
3var evens = arr1.filter(function(x) {
4   return x % 2 === 0;
5})
6
7console.log(evens);