JavaScript String Data Type

JS String Data Type

String is a primitive data type in JavaScript. A string is textual content. It must be enclosed in single or double quotation marks.

Example:

Result:

   Demo: JavaScript String
   Welcome to aimtocode
   Keep Learning

Read Also: