console.time("Test");
for(var i=0; i
It's far from being as dramatic now, but I did get 2x boost from 5.417ms down to 2ms on your test. I had near absolute same values on Node and Chrome when I used a larger loop and a function wrap.
(function(){
console.time("Test");
for(var i=0; i <10000000000; i +=1 ){
// loop around
}
console.timeEnd("Test");
}).call(this);