Associative arrays in javascript look like this: 
var myAssoc = {"key1":"val1","key2":"val2"}

To get a value, given a key, you would write:
myAssoc[key]

So what are associative arrays?

The short answer is that they are lists of key, value pairs. In javascript, everything is really just an object. So another way to put it is that they are objects with properties.