appendarraytoanotherarray

Benchmark created by Arunkumar on


Description

Append array to another array

Test runner

Ready to run.

Testing in
TestOps/sec
ArrayPush
var a = [1, 2, 3];
var b = [4, 5, 6];
Array.prototype.push.apply(a, b);
// a contains [1,2,3,4, 5, 6]
ready
ArrayConcat
var   a=[1,2,3]; 
var   b=[4,5,6]; 
var   c=a.concat(b);
ready

Revisions

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

  • Revision 1: published by Arunkumar on