I\'m working on a JS to show different messages depending on the current url\'s hash.
Now, that\'s all working, but I was wondering what the best way would be to access my m
It turns out it is indeed faster to assign your object[key] to a temporary variable in for-in loops with large objects, as seen in this jsPerf test. That way, you won't have to obtain object[key] for every property of the object.