摘要: let student={ age: 20, name: '张三丰', sex: "男" } // 1. 删除age属性: const {age,...noAge} = student age // 20 noAge // {name: "张三丰", sex: "男"} // 2. 只要name s 阅读全文
posted @ 2021-01-07 13:41 James2019 阅读(2213) 评论(0) 推荐(0) 编辑