JavaScript String Methods

In JavaScript, strings are used to represent and work with a sequence of characters. A string can represent an object as well as the primitive data type.