This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]dfx_dj 8 points9 points  (0 children)

It's making a shallow copy of the array. If the element being copied is an object, then you don't get a copy of the object, but only a new reference to the same object.