摘要: var obj = { name:"Jack", sex:"男", age:20, wife:{ name:"Rose", sex:"女", age:18, }, } var {name:a,sex,wife:{name:c,sex}} = obj; console.log(a) //jack co 阅读全文
posted @ 2019-08-23 22:33 无人问及 阅读(308) 评论(0) 推荐(0) 编辑