var in loops

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
outside
var foo;
for (var i = 0; i < 10000; i++) {
  foo = 1;
}
ready
inside
for (var i = 0; i < 10000; i++) {
  var foo = 1;
}
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.