clone array

Benchmark created by Couto on


Test runner

Ready to run.

Testing in
TestOps/sec
slice
var a = ['a', 'b', 'c'].slice(0);
ready
concat
var b = [].concat(['a', 'b', 'c']);
ready
concat reversed
var c = ['a', 'b', 'c'].concat([]);
ready

Revisions

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