Potential methods of combining 2 arrays into a single concatenated array string (TOPIC TITLE EDITED)

Here is the solution:

   array1 = ['1-','2-','3-']
   array2 = ['FIRST','SECOND','THIRD']
   array1.zip(array2).map { |a| a.join('') }

I leave the topic open to that or I have another fundamental question. :grinning:

1 Like