Hour 6. Arrays

What You’ll Learn in This Hour:

Image What we mean by the array data type

Image How to declare and populate arrays

Image How to manage array contents

Sometimes it makes sense to store multiple variable values under a single variable name. JavaScript has the array data type to help you do this.

In this hour you’ll see how JavaScript arrays are created and how the data stored in these arrays can be manipulated in code.

Arrays

An array is a type of ...

Get JavaScript in 24 Hours, Sams Teach Yourself, Sixth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.