AS per the best of my knowledge javascript does not support deep copy i.e. is doesn't create another copy of an object and object's element if it is of complex type like another object or an array.I tried to copy an object containing three more objects it resulted in creating only a reference but not a seperate copy as expected but when I tried copying the objects independently with one object having an array it created another copy of the array insted of creating a refernece to same array, this appears a bit unusual can anyone give me any explanation of this or arrays are exckuded from shallow copy functionality in latest version of javascript, would be very much obliged to get an explaination Thank you for your help in advance