💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
~~~ /*输出下面代码运行结果*/ //example 1 var a={}, b='123', c=123; a[b]='b'; a[c]='c' ; console.log(a[b]); // "c" // //example 2 var a={}, b=Symbol('123'), c=Symbo1('123'); a[b]='b' ; a[c]='c'; console.log(a[b]); //'b' ~~~ ![](https://img.kancloud.cn/be/51/be5166b475e58e5e297e0a7fb3f5d95e_541x463.png) ~~~ //example 3 var a={}, b={key:'123'}, c={key:'456'}; a[b]='b'; a[c]='c' ; console.log(a[b]); //c ~~~ ![](https://img.kancloud.cn/89/73/89734bcb2ea420c7143a5fd2a57023c7_1132x183.png)