.startsWith()

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

Explanation: The method that checks if a string begins with a specified substring. It returns `true` if the string starts with the given substring 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 17
  • The safari browser supports this feature starting from version 9
Availability: