Let's suppose there's a scope where variables are created in a loop... e.g, loop that is always executed in a repetitive call of game frame.
for(var i = 0; i !== 10; i ++) {
for(var b = 0; b !== 10; b ++);
}
And if the variable i and the variables b (created 10 times on each time the loop block executes) in this code aren't removed from memory? JavaScript garbage collector shouldn't work equally in browsers.
I need to know what happens to these temporary variables created many times.