Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

lodash deep compare two objects

var bob = {"sex":"male","age":21};
var bill = {"sex":"male","age":21};
if(_.isEqual(bob, bill)){
    //we are equal
}else{
	//we are not equal
}
 
PREVIOUS NEXT
Tagged: #lodash #deep #compare #objects
ADD COMMENT
Topic
Name
4+5 =