| 1. | a. 2names is an invalid JavaScript variable name because it begins with a number. The others are valid, although they're probably not ideal choices for names. |
| 2. | b. Because the variable is declared in a function, it is a local variable. The var keyword ensures that a local variable is created. |
| 3. | b. The length of the string is 21 characters. |
| 4. | a. The correct statement is test.substring(4,9). Remember that the indexes start with 0, and that the second index is noninclusive. |
| 5. | c. JavaScript converts the whole expression to the string "31 angry polar bears". (No offense to polar bears, who are seldom angry and rarely seen in groups this large.) |