CloneArray

test for stackoverflow

by neoswf

JavaScript

var a=[[1,1],[2,1],[3,1]]
b = a.slice();
a.push([4,1]);
alert('a: '+a);
alert('b: '+b);