Learn JavaScript
String Methods
17.9
Lesson

Searching for a String

The includes() method checks if a particular string includes another substring and then returns true or false accordingly.