🌈 搜索
📅  最后修改于: 2022-03-11 15:02:36.212000             🧑  作者: Mango
var obj = {}; for (var i = 0, length = a.length; i < length; i += 2) { obj[a[i]] = a[i+1]; }