-
What do arrays allow us to do?
They allow us to store multiple values in a single variable. -
What index should you use in order to access the first element in an array?
zero “0”
- It allows us to hold multiple things into 1 variable.
- index 0
-
With an array you can store multiple values in a variable.
-
The first value inside an array is 0
- Allows us to list or store several variables inside a single variable
2)zero
What do arrays allow us to do?
It lets you store multiple values in a single variable.
What index should you use in order to access the first element in an array?
0
- The Array object lets you store multiple values in a single variable.
-
-
In JavaScript, arrays allow us to store sequences of values specifically. Written in square brackets as a list of values separated by commas.
-
To access the first element on a list in an array the index [0] should be used.
- Arrays allow us to store several values in a single variable.
- [0]
-
What do arrays allow us to do?
Arrays allow us to hold multiple values in a variable. -
What index should you use in order to access the first element in an array?
The index begins the count from zero so the first element begins from 0
- What do arrays allow us to do? - Store multiple values in a single variable, that are of the same type.
- What index should you use in order to access the first element in an array? - [0]
- What do arrays allow us to do?
Array object lets you store multiple values in a single variable. - What index should you use in order to access the first element in an array?
0
1. What do arrays allow us to do?
To store more than one value in a variable
2. What index should you use in order to access the first element in an array?
0
Arrays allows for multiple variables within a variable
The index 0 is used to access the first element in an array.
- Arrays allow us to store more than one value in a variable.
- Arrays start counting at 0, so when you want to call the first value of the array use 0 instead of 1.
-
Arrays allow you to store multiple values inside of one single variable.
-
[0]
- What do arrays allow us to do?
an array allows us to hold a collection of variables.
- What index should you use in order to access the first element in an array?
nameofArray[0]
- arrays allow us to store multiple values in one datastructure
- index 0
1.What do arrays allow us to do? Allows us to store multiple values in a single variable.
2.What index should you use in order to access the first element in an array? You should use 0 in the index
- To store multiple variable of the same category in one single variable, it may be strings or integers.
- Ex.: Fruits[0]
- What do arrays allow us to do? Store multiple data points (usually of the same category) in one variable.
- What index should you use in order to access the first element in an array? nameOfArray[0]