const _symbolKey = array => { // 补全代码 const res = {}; array.forEach(item => { res[Symbol(item)] = item; }) return res; }