let arr = [];for (let f of [Symbol, Symbol.for]) { for (let v of [undefined, 'undefined']) { arr.push(f(v)) } }let res = [];for (let i = 0; i < arr.length; i++) { for (let j = i + 1; j < arr.length; j++) { res.push(arr[i] === arr[j]) } }console.log(res)
如题……它想要算什么?
相关分类