.lastIndexOf()
Term side of the Card
Topic: String
Unit title: .lastIndexOf()
Categories: Method
Explanation side of the Card
Explanation: The method that returns the index of the last occurrence of a specified substring in a string. If the substring is not found, it returns -1.
Browser compatibility:
- The chrome browser supports this feature starting from version 1
- The edge browser supports this feature starting from version 12
- The firefox browser supports this feature starting from version 1
- The safari browser supports this feature starting from version 1
Availability: