Object.assign

Object.assign() 方法用于将所有可枚举属性的值从一个或多个源对象source复制到目标对象。它将返回目标对象target。

posted on 2024-02-18 21:48  Steven_YF  阅读(15)  评论(0)    收藏  举报