passing an object

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
object
var something = "hey what's going on";
var placeholder;

function testMe(args) {
 placeholder = args.message;
}

testMe({
 message: something
});
ready
var
var something = "hey what's going on";
var placeholder;

function testMe(args) {
 placeholder = message;
}

testMe(something);
ready

Revisions

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