JavaScript
•
A
variable
stores a value.
–
Declare a variable with the keyword
var
•
Assignment: variable = value;
•
+
adds numbers
•
+
concatenates strings of characters
–
e.g. “ab” + “cd” is “abcd”
•
lastModified
is a property of the
document object.
•