Mark As Completed Discussion

Strings in JavaScript

As mentioned above, strings in most programming languages can be declared by single or double quotation marks, and so is the case with JavaScript. Following code block has few examples.

JAVASCRIPT
OUTPUT
:001 > Cmd/Ctrl-Enter to run, Cmd/Ctrl-/ to comment