Get to know Javascript String type
Description
The String
type is the object representation for strings
and is created using the String constructor:
Example
var stringObject = new String("hello world");
console.log(stringObject);
The code above generates the following result.