在变量后面加一个:
var {f: foo} = {f: 5}; foo == 5 // true
posted on 2018-07-30 13:32 axel10 阅读(6514) 评论(0) 编辑 收藏 举报