O'Reilly logo

JavaScript™ for Programmers: Deitel by Harvey M. Deitel - Deitel & Associates, Inc., Paul J. Deitel - Deitel & Associates, Inc.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

8. JavaScript: Arrays

OBJECTIVES

In this chapter you’ll learn:

• To use arrays to store lists and tables of values.

• To declare an array, initialize an array and refer to individual elements of an array.

• To pass arrays to functions.

• To sort an array.

• To declare and manipulate multidimensional arrays.

With sobs and tears he sorted out Those of the largest size . . .Lewis Carroll

Attempt the end, and never stand to doubt; Nothing’s so hard, but search will find it out.Robert Herrick

Now go, write it before them in a table, and note it in a book.Isaiah 30:8

’Tis in my memory lock’d, And you yourself shall keep the key of it.William Shakespeare

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required