📅  最后修改于: 2022-03-11 15:02:12.930000             🧑  作者: Mango
var a1 = [1,2,3];
var a2 = [1,2,3];
console.log(a1==a2); // Returns false
console.log(JSON.stringify(a1)==JSON.stringify(a2)); // Returns true