数组转对象

var a = [a, b, c]
var b = Object.asign({}, arr)

 

posted @ 2018-09-18 09:53  巫瞅瞅  阅读(456)  评论(0)    收藏  举报