Objects are a ________ data type
Complex
What is the first index of an array?
0

What is the proper order for these statements in a for loop: Stop, Update, Start?
Start, Stop, Update
Arrays use a _______ to iterate
for loop
Which of the following are used to create Objects and which are used to create Arrays?:
() [] {} <> ""
{} for Objects
[] for Arrays

Identify the values in this object
"Ben", "Weston", "Instructor"

How would you access "hey" from this array?
array[1];
Correctly place these statements in the for loop: i++, var i = 0; i < 10
for() {}
var i = 0; i < 10; i++

What will be printed by this code?
name, hometown, occupation
What data type are keys of an Object?
Strings

How would you access "Weston" from this object?
person.hometown or person['hometown']
Arrays use _______ Notation to access individual elements.
Bracket

What values are printed to the console?
0 through 19, counting up by 1s
var classroom = {
"student": [Emma, Denzall, Conarion, Ryan],
"Count": 4,
"allPassing": true
}
console.log( classroom.student[student.length - 1] )
Ryan
_____ are used to separate keys and values within an object, while _____ are used to separate properties or key-value pairs.
colons, commas
Objects are a collection of ______ pairs called ______
Key:Value, Properties
How would you access the last element of any array?
var array = [...]
var lastElement = ???;
array[array.length - 1];

What are the values printed to the console?
50, 40, 30, 20, 10
var classroom = {
"student": [Emma, Denzall, Conarion, Ryan],
"count": 4,
"allPassing": true
}
console.log( classroom["count"] / 2 + 2 )
4
What is the name of Operation Spark's Robo Mascot?
Hallebot
Open jsbin.com and create an object called user that has 3 properties: firstName, lastName, and age. It should have 2 different data types.

var grades = [85, 67, 93, 79, 88, 72, 59, 95, 76];
I want to add 5 points to each of these grades. What is the best way to do this? How will you change each element of the array?
Use a for loop, iterate through each index of the array, grades[i] += 5;
Provide an example of an infinite loop / explain how an infinite loop can occur.
An infinite loop occurs when the stop condition can only ever be true.

Fill in the three blank spaces to print out each element of the array
0;
array.length;
array[i];
Name 6 different data types in Javascript.
Strings, Numbers, Booleans, Arrays, Objects, Undefined