Skip to Main Content
JavaScript Absolute Beginner's Guide, 2nd Edition
book

JavaScript Absolute Beginner's Guide, 2nd Edition

by Kirupa Chinnathambi
December 2019
Beginner content levelBeginner
464 pages
10h 31m
English
Que
Content preview from JavaScript Absolute Beginner's Guide, 2nd Edition

13. Arrays

In This Chapter

  • Use arrays to handle lists of data

  • Learn how to perform common tasks using the various Array properties

Let’s imagine you are jotting down a list on a piece of paper. Let’s call the piece of paper groceries. Now, in the paper, you write a numbered list starting with zero with all the items that belong there, as shown in Figure 13.1.

Image

FIGURE 13.1

A list of items that resembles a grocery list.

By simply creating a list of things, what you have right now is a real-world example of an array! The piece of paper called groceries would be your array. The items that you need to purchase are known as the array values. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

JavaScript Absolute Beginner’s Guide

JavaScript Absolute Beginner’s Guide

Kirupa Chinnathambi

Publisher Resources

ISBN: 9780136204213