复制1function compareMembers(person1, person2 = person) { 2 if (person1 !== person2) { 3 console.log("Not the same!") 4 } else { 5 console.log("They are the same!") 6 } 7} 8 9const person = { name: "Lydia" } 10 11compareMembers(person)
1function compareMembers(person1, person2 = person) { 2 if (person1 !== person2) { 3 console.log("Not the same!") 4 } else { 5 console.log("They are the same!") 6 } 7} 8 9const person = { name: "Lydia" } 10 11compareMembers(person)
本题为“单选题”
题库维护不易,您的支持就是我们最大的动力!