Arrays - Reading Assignment

  1. It allows us to store multiple values of the same type in a single variable.

  2. In the array, var colors = [ blue, red, yellow, black ];, the index colors[0] would be used. Index zero.

  1. An array allows us to add multiple values in a single variable, you can think of it as a collection of date.

  2. The index we should use to access the first element is 0.

  1. What do arrays allow us to do?

The Array object lets you store multiple values in a single variable, think of it as a collection of variables of the same type.

  1. What index should you use in order to access the first element in an array?

var[0]

The property represents the zero-based index of the match in the string.

  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, but it is often more useful to think of an array as a collection of variables of the same type.
  2. What index should you use in order to access the first element in an array?
    0

  1. Arrays allow us to store multiple variables in one big variable defined by the arrays function.

  2. The first element in an array variable always start at 0. So 0= 1, 1=2, 2= 3, 3= 4 etc.

  1. Arrays allows us to store a lot of values in single variable. Or it is more useful to think of it as collection variables of the same type.
  2. First element in index is 0.
1 Like
  1. collection of variables of the same type
  2. Zero
  1. What do arrays allow us to do?
    -Store multiple variables in a single variable.Either strings or integers.
  2. What index should you use in order to access the first element in an array?
    -array[0]
  1. to store multiple values in a single variable
  2. with 0 --> let firstElem = somearray[0];

What do arrays allow us to do?
Arrays allow us to store multiple values under one variable, and then reference them independently based on their index order.

What index should you use in order to access the first element in an array?
0

FROM:Horacio
1.To store a collection of data. or, as a collection of variables of the same type…
2. The zero

  1. Arrays let us store multiple values in a single variable.
  2. To access the first element in an array, you should use index [0]
  1. The Array object lets you store multiple values in a single variable.
  2. index[0]

1.An array lets you store multiple values (1,3,”string”,false) in a single variable

2.JavaScript has a starting point of 0, so to access the first value in the array [0] must be used , the second value [1] and so on…

  1. What do arrays allow us to do?
    Arrays allow you to store multiple values in a single variable.

  2. What index should you use in order to access the first element in an array?
    Arrays use a 0 based index which means that 0 rather than 1 is required to access the first array value.

  1. What do arrays allow us to do?
    To collect varibles of the same type.
  2. What index should you use in order to access the first element in an array?
    You will use an ordinal number to access [0]
  1. Arrays allow us to store related data (including large amounts) in one variable, as separate values called elements.
    An array in JavaScript comes with a wide choice of built-in array methods, which we can use to perform many different types of operations, computations, data analysis, and data manipulation on the data contained in the array.

  2. Index [0] is used to access the first element in an array.

  1. What do arrays allow us to do?
    Arrays allow us to store multiple values in a single variable, usually elements of the same type.

  2. What index should you use in order to access the first element in an array?
    That would be zero [0].

  1. Arrays store of a collection of data, often a collection of variables of the same type.
  2. 0