Web features explorer

Array includes()

Widely available since 2019-03-20
Tags: javascript Groups: JavaScript > Collections > Arrays JavaScript > Collections > Typed arrays

The includes() method of arrays and typed arrays returns whether a given value appears in the array.

Learning resources on MDN

Browser support