Check if item exists in an array

March 19, 2021 1 min read
const frameworks = ['ReactJS', 'VueJS', 'Angular']

frameworks.includes('ReactJS') // true