I was using jQuery 1.3.2 on my application, and I used to have the
following:
var data = jQuery.extend(true, {}, arrComp);
whereas arrComp is an array of objects. This was used to duplicate the
array, so that I could remove some properties from the objects before
passing the "data" to ajax, and keep the originals objects intact.The problem is that in 1.4rc1 the "data" is not just a copy of arrComp. When I delete the properties of its objects, the original array is modified as well. Is this a bug? Or am I doing the wrong thing? Thank you in advance!
-- You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en.
