November 2019
Beginner
560 pages
13h 36m
English
• Defining and Accessing Arrays
• Array Properties and Methods
• Using Arrays with Loops
• Nesting Arrays
In this chapter, you are going to learn about JavaScript arrays and what they can do to help you improve your scripts. You will begin with a basic overview of what arrays are and why they are useful, and you will learn how to define and access arrays in JavaScript. After that, you will learn about helpful properties and methods that can be used with arrays. Finally, you will learn how to nest arrays to provide additional levels of organization.
An array is a way of storing a list of data (for example, a list of favorite colors or favorite foods). These values are ...