Mdn .cludes
const array1 = [1, 2, 3];
console.log(array1.includes(2));
// expected output: true
Dizzy Dog
const array1 = [1, 2, 3];
console.log(array1.includes(2));
// expected output: true