Question: javascript check if object has same values?
Answer: Comparing objects is easy, use === or Object.is(). This function returns true if they have the same reference and false if they do not.