Working with strings in JavaScript

A quick intro
Create a string
String is a JavaScript type used for representing text. For example, we can include a string literally in our JavaScript program within a matched pair of single or double quotes as follows: