Slide 10
Slide 10 text
Strings
• ‘Normal’ text.
var message = “Hi, there”;
var first_name = “Scott”;
var last_name = “Motte”;
• Use the + (plus) sign to add strings together.
It is known as concatenating strings.
var full_name = first_name + “ “ + last_name;
Monday, February 4, 2013