📅  最后修改于: 2022-03-11 15:03:28.502000             🧑  作者: Mango
var bob = {"sex":"male","age":21};
var bill = {"sex":"male","age":21};
if(_.isEqual(bob, bill)){
//we are equal
alert("sd)
}else{
//we are not equal
}