Changes

Jump to: navigation, search

JavaScript Arrays

171 bytes added, 14:07, 15 May 2007
What is an Array
== What is an Array ==
A JavaScript array is an object that contains a number items. Those items can be variables (such as strings or numbers) or even other objects (such as Image objects or custom objects which you as a JavaScript developer have created). Once you have grouped all the items into the array you can then perfrom tasks like sorting the array items into alphabetical order, accessing and changing the value assigned to each array item and passing the group of items as an argument to a JavaScript function (see [[Understanding JavaScript Functions]]) by passing just the array object. In this chapter we will look in detail at how to create and manipulate JavaScript arrays. == How to Create a JavaScript Array ==

Navigation menu