How would I add multiple identical elements to an array?
For instance, if the array was:
["Swan", "Dog"]
and I wanted to turn it into:
["Swan", "Dog", "Cat", "Cat", "Cat", "Cat", "Cat", "Cat", "Cat", "Cat", "Cat", "Cat"]
(adding 10 Cats)
It there a simple command I can do, which does not use a loop?