jQuery中$.extend(true,object1, object2);深拷贝对象

jQuery.extend( [deep ], target, object1 [, objectN ] )

[deep ]为true(深拷贝),默认false(浅拷贝),object1 拷贝的对象

发布了111 篇原创文章 · 获赞 19 · 访问量 6万+

猜你喜欢

转载自blog.csdn.net/qq_34607371/article/details/104355194