Working With Arrays Part 2

Tiffany White,

What is an array?

You use an array to store data. You can initialize an empty array and then store data in it as well. But that is beyond the scope of this post.

There are 4 types of arrays in JavaScript:

// An array of Boolean values var array = [true, false];

// An array of Strings var array = ["Mom", "Rick", "orange"];

What is an array?

You use an array to store data. You can initialize an empty array and then store data in it as well. But that is beyond the scope of this post.

There are 4 types of arrays in JavaScript:

// An array of Boolean values var array = [true, false];

// An array of Strings var array = ["Mom", "Rick", "orange"];

These are the types of arrays in JavaScript. I will cover arrays in Java as well.

© tiff.RSS