JS: String (class)
What is the Keyword βStringβ
Purpose of String is:
- A Primitive Value object wrapper.
- Used as a namespace to hold static methods.
- Holds the property key
"prototype". Its value is the parent of all string objects.
Purpose of String is:
"prototype". Its value is the parent of all string objects.