I would say that JS does support associative arrays, since it is the fundamental data type behind objects and arrays. Arrays are basically associative arrays, since the index is converted into a string and used as a key.
E.g. myData[7] is equivalent to myData["7"].
The length property does not return the number of items in the array though. It returns the value of the key with the highest numerical value if parsed as a integer plus one.
[+] [-] svnv|15 years ago|reply
[+] [-] svnv|15 years ago|reply
[+] [-] jacksoncarter|15 years ago|reply
[+] [-] pooj|15 years ago|reply
[+] [-] code_duck|15 years ago|reply
[+] [-] ccollins|15 years ago|reply
[+] [-] olavk|15 years ago|reply
The length property does not return the number of items in the array though. It returns the value of the key with the highest numerical value if parsed as a integer plus one.
[+] [-] messel|15 years ago|reply
[+] [-] msie|15 years ago|reply
[+] [-] megafotze|15 years ago|reply
[deleted]