How can I check if two JavaScript values are the same?
If they are objects, I would like to compare them key-by-key recursively.
I'm looking for an existing function, not a way to write my own like described in this question: Object comparison in JavaScript.