What is string type?

The String type represents a sequence of 16-bit Unicode characters. Strings can be created by either double quotes (") or single quotes (’). The quotes must match(start with " end with ").

            var firstName = "first"; 

            var lastName = 'last';

            document.writeln(firstName);

            document.writeln(lastName);