// This works! var turkey = Array.prototype.filter.call(sandwiches, function (sandwich) { return sandwich.matches('.turkey'); });