Is there a method to clone an array in jQuery?

Viewed 81724

This is my code :

var a=[1,2,3]
b=$.clone(a)
alert(b)

Doesn't jQuery have a 'clone' method? How can I clone an array using jQuery?

8 Answers
Related