Schlaufe Trog JavaScript Array assoziativ

var months = [];
months["jan"] = "January";
months["feb"] = "February";
months["mar"] = "march";

for (var key in months) {
    var value = months[key];
    console.log(key, value);
}
Grepper