JS-Arrays Flashcards
1
Q
What are arrays used for?
A
Keep list of things together
2
Q
Describe Array Literal notation
A
var arrayName = []
3
Q
what number represents the first index
A
0
4
Q
what is length property
A
length of the array
5
Q
how to get last index of array
A
array.length - 1