.includes()

Term side of the Card
Topic: String
Unit title: .includes()
Categories: Method
Explanation side of the Card

Explanation: The method that checks if a string contains a specified substring. It returns `true` if the substring is found within the string and `false` otherwise.

Browser compatibility:
  • The chrome browser supports this feature starting from version 41
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 40
  • The safari browser supports this feature starting from version 9
Availability: