these are my two objects
var obj1={"firstName":"john","lastName":"Peter","email":"rasheed@gmail.com"}
var obj2={"firstName":"john","lastName":"Peter","email":"rasheed@gmail.com","address":"New York"}
obj1 comes dynamically we dont know what comes in that first as property, i want to return true if obj1 properties exist in obj2 properties along with values, and if any one object properties with its value doest not exist in obj2 then it should retrun false, how to do this, do you guys have any idea?