java 8 filter even numbers code example
Example: java filter array by even numbers
function even(t) {
return t.filter(function(x){ return x % 2 == 0; });
}
function even(t) {
return t.filter(function(x){ return x % 2 == 0; });
}