We can join two arrays using the con cat method in this sample script.
We have two arrays one named girls and the other boys the girls array has four elements Julie Samantha
Laura and Joe.
The boys array has five elements.
Bob Joe Walt Sam and Fred.
The third variable is named combined this variable will store the element values of both arrays using
the concatenated to output these values.
We can use our get element by I.D. output method
let's go ahead and preview this file in our web browser to see what the output looks like.
Here we can see that the elements of both arrays have been output ID as we intended.