Check if item exists in an array

const frameworks = ['ReactJS', 'VueJS', 'Angular']

frameworks.includes('ReactJS') // true