BASELINE NowYouCanUse.com
Widely Available Strings
id: string-includes

String includes()

The includes() method of strings returns whether a search string appears within the string.
Baseline Status: Achieved Widely Available on Mar 30, 2018 (Cross-browser Newly Available since Sep 30, 2015).
Desktop Browser Engine Support
Google Chrome
41
Supported
Mozilla Firefox
40
Supported
Apple Safari
9
Supported
Microsoft Edge
12
Supported
Mobile Browser Engine Support
Chrome Android
41
Firefox Android
40
Safari iOS
9
Specifications and References