Splat operator Question

Hi there. What’s the functional difference between

pet1, pet2, pet3 = *[“duck”, “dog”, “cat”]

and

pet1, pet2, pet3 = [“horse”, “cow”, “goat”]

I get the same results–namely, each pet gets one value from the array.

This is a user comment in one post [1] in my blog

[1] :

Pedro Del G.

Email : [email protected]

This is a user comment in one post [1] in my blog

Sorry, i forget the address

[1] :

Pedro Del G.

Email : [email protected]