Hi
Array.prototype.splice.apply(a,[0,a.length].concat(b))
kompakter :)
~~~javascript
a.length=0;
a.push.apply(a,b)
ciao
Rolf
Hi
Array.prototype.splice.apply(a,[0,a.length].concat(b))
kompakter :)
~~~javascript
a.length=0;
a.push.apply(a,b)
ciao
Rolf