Given an array and a string, add the string to the end of the array. Mutate the array.
// input:
const a = ['zebra', 'aardvark', 'penguin', 'giraffe'], s = 'cow'
// output:
['zebra', 'aardvark', 'penguin', 'giraffe', 'cow']
(Ctrl + ')
Loading...
/* output */
Next(Ctrl + y)