const words = ['강아지간식', '강아강아', '고양이', '강아지', '강아지패드', '강아지사료']; const result = words.filter((word) => word.includes('강아지')); console.log(result); ['강아지간식', '강아지', '강아지패드', '강아지사료']