Function Declarations vs. Function Expressions (v5)

Revision 5 of this benchmark created on


Setup

function Xd() { return "hello"; }
    function Yd() { return Xd(); }
    function Zd() { return Yd(); }
    var Xe = function () { return "hello"; };
    var Ye = function () { return Xe(); };
    var Ze = function () { return Ye(); };

Test runner

Ready to run.

Testing in
TestOps/sec
Function Declaration
Zd();
ready
Function Expression
Ze();
ready

Revisions

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