复制1const a = {} 2const b = { key: 'b' } 3const c = { key: 'c' } 4 5a[b] = 123 6a[c] = 456 7 8console.log(a[b])
1const a = {} 2const b = { key: 'b' } 3const c = { key: 'c' } 4 5a[b] = 123 6a[c] = 456 7 8console.log(a[b])
本题为“单选题”
题库维护不易,您的支持就是我们最大的动力!