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