Object .assign () official links
jQuery.extend () official links
From the results of the above point of view, two methods are copied object to the target object.
From the results of the above point of view, two methods are shallow copy: If the property is complex hetero element data type, reference copies of the inner element.
Reproduced in: https: //www.jianshu.com/p/49d8b116346a