Back in Chapter 9, "Strings, Numbers and Variables," we discussed different data types, including variables. Variables can hold one piece of data or another data type, including another variable. Like variables, arrays can hold any type of data, including strings, integers, and Booleans. They can also hold other data types, including variables and other arrays (called nested arrays), which we will discuss later in this chapter.
In this chapter, we will go over what an array is, how to create one, and how to retrieve, manipulate, and delete data from arrays with an applied example at the end.
So let's jump right in and see what makes up an array.