为什么对象不相等?
var allCityJsonOptions = {230: "Abbeville", 231: "Abernant"};
var dataObject = Object.keys(allCityJsonOptions).map(
value => {var text = allCityJsonOptions[value];
return { text, value }
});
var option = [{text:"Abbeville",value:230},{text:"Abernant",value:231}]
为什么对象console.log(option === dataObject); return false
不相等?