今天看到书上讲到JS的对象,有个示例不是很明白
var myObject = {};
myObject[myObject] = "foo";
myObject["[object Object]"];//foo,这里的[object Object]等价于{}吗?
千万里不及你
相关分类