From functions to breeding rabbit pairs and back again, this chapter has covered a lot of ground. Using functions in your programs is a good way to organize and simplify your code. If you work with functions, it should help you to understand the way your code is structured. Furthermore, properly written functions allow you to easily reuse code. This saves time and effort.
This chapter has shown you how to write your own functions, how to call functions, and how to use some of the built-in JavaScript functions.
Chapter 6, “ Working with Arrays,” explains, well, how to work with arrays, which are used to store objects of a similar type and access them using an index.