sorry as this isn't directly kotlin/js but just plain ol' js
I need to check if two objects point to the same reference, came across this stackoverflow post
the answers there seem to point out that there's no exact way to do with,
just checking if anything has changed since most answers seem old
https://stackoverflow.com/questions/13685079/how-to-check-if-two-vars-have-the-same-reference