new array vs literal

Benchmark created by Christopher McCulloh on


Test runner

Ready to run.

Testing in
TestOps/sec
[]
var arr = [];
ready
new Array
var arr = new Array();
ready

Revisions

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