SyntaxFix
Write A Post
Hire A Developer
Questions
To compare two objects along with all attributes of it, I followed this code and it didn't require tostring() or json compar
if(user1.equals(user2)) { console.log("Both are equal"); }
e.