Array.prototype.includes ['a', 'b', 'c'].includes('a') // true ['a', 'b', 'c'].includes('d') // false References Array.prototype.includes - Dr. Axel Rauschmayer