Seeking advice about relocating
5 pointsby mackraken8 comments
for(var x = 0; x < 100; x++){
var keys = Object.keys(obj);
sum = sum + keys[x];
}
The problem here is needlessly invoking the same operation 100 times (Object.keys).