.slice()
Term side of the Card
Topic: String
Unit title: .slice()
Categories: Method
Explanation side of the Card
Explanation: The method that extracts a section of a string from the start index to the end index (not included) and returns it as a new string. It doesn't modify the original string.
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: