---
date: 2020-11-13
id: d5d1956b-d2f4-4cff-bed9-40900f3e1bae
title: Array.prototype.includes()
---

# Description

Tells you if array includes a certain element:

# Syntax

``` javascript
console.log(["a", "b", "c"].includes("a")); // true
console.log(["a", "b", "c"].includes("d")); // false
```
