- What do arrays allow us to do?
Store mulitple values in a variable
- What index should you use in order to access the first element in an array
[0]
Store mulitple values in a variable
[0]
1. What do arrays allow us to do?
The Array object lets you store multiple values in a single variable. It stores a fixed-size sequential collection of elements of the same type. An array is used to store a collection of data.
Arrays allow us to hold more than one value in a variable.
2. What index should you use in order to access the first element in an array?
Array index starts from zero. So first element is in index zero.
Arrays let us keep a collection of variables in a single variable.
IndexOf()
1.An array is used to store a collection of data, but it is often more useful to think of an array as a collection of variables of the same type.
Store values of the same type in the same variable in form of a list.
0
Collect a set of similar data and run various operations on them as a group.
array[0]
-indexOf(0)
Array object lets you store multiple values in a single variable. It stores a fixed-size sequential collection of elements of the same type. An array is used to store a collection of data, but it is often more useful to think of an array as a collection of variables of the same type.
Zero index
array[0]
The Array object lets you store multiple values in a single variable. It stores a fixed-size sequential collection of elements of the same type. An array is used to store a collection of data, but it is often more useful to think of an array as a collection of variables of the same type.
0, indexOf
1.An array is a data structure, which can store a fixed-size collection of elements of the same data type. An array is used to store a collection of data, but it is often more useful to think of an array as a collection of variables of the same type.
2.The* index value of the first element of the array is 0.
Arrays allow you to store multiple values in a single variable.
[0]
Lets you store multiple values in a single variable.
By default array index starts from zero. The first element in the index is 0.
What do arrays allow us to do?
Arrays are objects that allow us to store many variables under the same name.
What index should you use in order to access the first element in an array?
index 0
Hello,
The first element index number is 0