Apply for Zend Framework Certification Training


There are Two  way to compare Two objects if we have the same key value, is using JSON.stringify.

Another way is using Lodash isEqual function


const obj1 = {name:'Rajesh',address:'faridabad'};
const obj2 = {name:'Rajesh',address:'faridabad'};
Json.stringify(obj1) === JSON.stringify(obj2);

< Mysql Questions Part 2 Mysql Questions Part 4 >

Ask a question

  • Question:
    • Answer:
      {{answer.blog_answer_description  }}
    Replay to Question

Back to Top