<! DOCTYPE html>//What is the type of the object's properties? String //if the object's property is not of the type of the string, it is implicitly converted to string varobj = {}; //obj.tostring () = "[Object Object]" //here, the object property is converted to a string and then set.obj[{}] = 123; Console.log (obj[{}]); //123Console.log (obj["[Object Object]"]);//123 //obj["name"] = "123"; //Console.log (obj["name1"]); //the question is converted to: two objects when toString is the same //Console.log (({}). ToString ()); //Console.log (({}). ToString ()); //Console.log ({}). tostring () = = = ({}). tostring ());//True /*the//reference type compares the address, so unless the two objects are the same object//otherwise, do not phase in var O1 = {}; var O2 = O1; At this point, the two objects are the same object var O2 = {}; Console.log ({} = = = {}); Console.log (O1 = = = O2); True or False??? Console.log (O1 = = O2); True or False???*/</script></body>Introduction to Object properties in JavaScript