Javascript Strings

This how we store a piece of text in Javascript. Here’s a couple of examples:

var APPname = "Space Invaders.";

We can use single quotes alternatively:

var FOObar = 'This is a single quoted string.'

Related pages