Web features explorer

String includes()

Widely available
Tags: js Groups: Strings Primitive types JavaScript

The includes() method of strings returns whether a search string appears within the string.

Compatibility (view on caniuse.com)

MDN docs

Specifications

BCD data