Cloning an array in JavaScript
Posted by Mike - August 15, 2008 at 02:08:12 pmThis frustrated me for like an hour today. The problem is that in JavaScript, arrays are treated like objects and are referenced when you really want to clone them. See embed.
No Comments yet »
RSS feed for comments on this post. TrackBack URI
Leave a comment
Powered by WordPress with GimpStyle Theme design by Horacio Bella.
Entries and comments feeds.
Valid XHTML and CSS.