DEV Community

Discussion on: Why it's so hard to check object equality in JavaScript

Collapse
 
karataev profile image
Eugene Karataev

Thanks for the nice overview of objects comparison methods.

Btw, there are some TypeScript types crawl in your js code 🤓

function areTheseObjectsEqual(first: any, second: any): boolean {
Collapse
 
joshuapbritz profile image
Josh Britz

Whoops, thanks for picking that up 😳