short-scope

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
Don't copy window
(function() {
  for (i = 0; i < 10; i = i + 1) {
    console.log(window);
  }
})();
ready
copy window
(function(window) {
  for (i = 0; i < 10; i = i + 1) {
    console.log(window);
  }
})(this);
ready

Revisions

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