In the following code, what does the line pet.animal = "cat"; do?
animal property from "dog" to "cat"animal with value "cat"animal property to the array ["dog", "cat"]Changes the value of the object's animal property from "dog" to "cat".