CodeBeginner

String

Also known as text string · strings

An immutable JavaScript primitive representing text as a sequence of UTF-16 code units.

In the real world

const greeting = 'Hello'; greeting.toUpperCase() returns 'HELLO' without changing greeting.

Related

Go a little deeper