Chapter 9 How to Create and Use Arrays
Objectives
Applied
1. Write code that works with arrays.
2. Write code that works with associative arrays.
3. Write code that works with arrays of arrays.
Knowledge
1. Describe how an index is used to access the data that’s stored in an array.
2. Describe the length property of an array.
3. Distinguish between the for statement and the for-in statement.
4. Describe these methods of the Array object: push, pop, shift, unshift, splice, slice,
concat, sort, reverse, and join.
5. Describe the split method of the String object.
6. Distinguish between an array and an associative array.
7. Describe how an array of arrays can be used to store tabular data.
Chapter 9 Slides
Code