Comment
Comment by mackraken
uh... re Loops:
"Try and avoid making calls in a loop." This is an over simplification. The author draws the wrong conclusion from the example given:
The problem here is needlessly invoking the same operation 100 times (Object.keys).