es6对象传播操作

时间:2021-09-02 13:07:00   收藏:0   阅读:21
let info={
    title:"0",
    link:"1"
    ,go:function (){
        console.log("2");
    }
}
var {name,address,...person2}=info;

   

原文:https://www.cnblogs.com/huluxia-fun/p/15213887.html

评论(0)
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!