Js Hash table - problemi con firebug
Stranamente firebug non logga correttamente un hash.
Sto sbagliando qualcosa?
var _hash = [];
_hash["sala-1"] = “test1″;
_hash["sala-2"] = “test2″;
//no
console.log(_hash);
//yes
for (var i in _hash) {
console.log(_hash[i]);
}