#!/usr/bin/env js var x =[2,45,35,67,46,489,58,24,93,44] var array = x.filter(x => x % 2 == 0); console.log(array);