function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sai prakash 14sai prakash 14 

Object reference problem

when i stored response.getReturnValue() in two attributes in lightning if any change applied on anyone other attribute also changing

 component.set("v.pricebookProducts", response.getReturnValue());
 component.set("v.pricebookProductsCopy", response.getReturnValue());

if i done any modifcation on first attribute then second attribute also changing.pls help me how to overcome this

Thanks in advance