JS membandingkan nilai objek derek

//turn them into text then compare their values
JSON.stringify(obj1) === JSON.stringify(obj2) 
/*not the best solution but work for simple objects without methods 
Happy Coding */ (●'◡'●)
Wa7ch Tennin