How can I implement an array with an indexer in JavaScript? Is there something like a dictionary in .Net?
You can try buckets, is a javascript data structure library, it allows you to use any type of object in a dictionary.