declaration vs expression (v4)

Revision 4 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
local expression
function A() {
 B = function() {
  var i = 42;
  var c = i * i;
  return c;
 }
 B();
}
A();
ready
global declaration
function C() {
 D();
}

function D() {
 var i = 42;
 var c = i * i;
 return c;
}
C();
ready

Revisions

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