declaration vs expression (v6)

Revision 6 of this benchmark created on


Test runner

Ready to run.

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

Revisions

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