Often times, we need to store more than a simple value. For instance, we might need to store contact information about our friends. In this case a simple list just isn't up to the job. However, an array can still be used to store complex data. In fact there's a number of ways to do so...
Arrays are wonderful tools that allow us to do so much with them. But arrays are often the misunderstood child of JavaScript. So, let's spend some time talking about how arrays can be used. No, I don't mean that we can use them to store our grocery list, or form objects (though it does these tasks fantastically). I mean let's get fancy with them. Let's talk about multi-dimensional arrays, or associative arrays, or creative ways to use an array.