const products = ['🍺', '🍣', '🍕', '🍷', '🍕', '🍺', '🍕', '🍷', '🍣'] function isForPizzaParty(item) { return item === '🍕' || item === '🍺' } function isForSushiParty(item) { return item === '🍣' || item === '🍷' }
products.filter(isForPizzaParty)
products.filter(isForSushiParty)