1const array1= ["cheese", "dough", "sauce", "pepperoni"]
2const array2= ["mozzarella", "peppers", "chicken", "cheese"]
3
4const isIncluded = array1.some(value => array2.includes(value))
5// true
6
7const values = array1.filter(value => array2.includes(value))
8// "cheese"