Js shallow copy and deep copy with jQuery
Shallow copy is a copy, the deeper the object level only copy references (that is, point to the same address, same content, same address)
Inside the shallow copy ECAM6 Method: Object.assign (target, ... Objects) target- copied object, objects - the copied object
jQuery inside shallow copy method: $ .extend ([Deep], target, object1 [, ObjectN ]) The default is deep false, so the first parameter can be omitted
Copy is a multilayer deep copy, the data are copied for each level (i.e. point to different addresses, the same content, different address)
ECAM6 inside deep copy method: the need to use a recursive function, reference may https://blog.csdn.net/luxxxx/article/details/89200005
deep copy method jQuery inside: $ .extend (to true, target, object1 [, ObjectN ])
May refer to the following link to view inside the shallow copy and deep copy jQuery
https://www.cnblogs.com/yuqingfamily/p/5813650.html