I\'m using this method to make artificial \'hashmaps\' in javascript. All I am aiming for is key|value pairs, the actual run time is not important. The method below works fi
for (var i = 0, keys = Object.keys(a_hashmap), ii = keys.length; i < ii; i++) { console.log('key : ' + keys[i] + ' val : ' + a_hashmap[keys[i]]); }