function expression vs statement for exporting (v29)

Revision 29 of this benchmark created on


Setup

var exports = {};

Teardown


    exports = {};
  

Test runner

Ready to run.

Testing in
TestOps/sec
Expression
var fn = exports.fn = function() {
 // Some code
}
ready
Statement
function fn() {
 // Some code
}
exports.fn = fn;
ready

Revisions

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