Why do we need Spread Operator?
why can we not write directly
let cloneUser = userDetails;
Try it. Try changing one of the objects and see what happens to the other.
system
Closed
3
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.