new Array() or []

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
With new array
var x=new Array();
ready
Squarebrackets
var y=[];
ready

Revisions

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