Function ways

Benchmark created by Renie Siqueira on


Test runner

Ready to run.

Testing in
TestOps/sec
As function
function test(){
    var bla = 0;
}
test();
ready
As variable
var test = function(){
    var bla = 0;
}
test();
ready
Anonymous
(function(){
    var bla = 0
}());
ready

Revisions

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

  • Revision 1: published by Renie Siqueira on