es5 filter object with specific value code example Example: filter out arrays js let newArray = array.filter(function(item) { return condition; });