String
In any computer programming language, a string is a sequence of characters used to represent text.
In JavaScript, a String is one of the primitive values and the String object is a wrapper around a String primitive.
In any computer programming language, a string is a sequence of characters used to represent text.
In JavaScript, a String is one of the primitive values and the String object is a wrapper around a String primitive.
This page was last modified on by MDN contributors.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.