SyntaxFix
Write A Post
Hire A Developer
Questions
Assuming that the order is the same in both objects, just stringify them both and compare!
stringify
JSON.stringify(obj1) == JSON.stringify(obj2);