I've got an array of an object, that doesn't seem to update in length. What am I not knowing about Javascript arrays?
this.Hats[ "Red" ] = new Hat( oPar, "red" )
this.Hats[ "Yellow" ] = new Hat( oPar, "yellow" );
The length is reported as 0, and it shows the array as empty, but a console.log shows it as having the array indices!
What am I not understanding about these arrays?