Misuse of the Array Object in JavaScript
May 18th, 2006 by Alexander Kirk |There is a very good post about Associative Arrays considered harmful by Andrew Dupont.
The title is a bit misleading but correct. When coming accross a piece of JavaScript like this
foo["test"] = 1;
there is nothing wrong about it. It's the basic usage scheme of assoziative arrays. Or should i rather say objects?
While in languages such as [...]