If you're new to Javascript/Actionscript/ECMAScript you might think there is a difference between objects (maps) and arrays, but there isn't. An array is simply a map (object) with the properties 0, 1, 2 etc. set to specific values.<p>This will list the properties of the map (0, 1, 2):<p>var a = ['a', 'b', 'c'];<p>for( i in a )
{
console.log( i );
}<p>This will list the values of those properties:<p>var a = ['a', 'b', 'c'];<p>for( i in a )
{
console.log( a[i] );
}