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
Do you mean
for (var i in a_hashmap) { // Or `let` if you're a language pedant :-) ... }
i is undefined when the for-loop gets set up.
i