In the following code, what does the line pet.animal = "cat"; do?

Changes the value of the object's animal property from "dog" to "cat"NothingCreates a new property called animal with value "cat"Sets the object's animal property to the array ["dog", "cat"]

Changes the value of the object's animal property from "dog" to "cat".