1 00:00:00,150 --> 00:00:05,190 We can join two arrays using the con cat method in this sample script. 2 00:00:05,190 --> 00:00:15,510 We have two arrays one named girls and the other boys the girls array has four elements Julie Samantha 3 00:00:15,600 --> 00:00:17,560 Laura and Joe. 4 00:00:17,770 --> 00:00:20,260 The boys array has five elements. 5 00:00:20,260 --> 00:00:24,690 Bob Joe Walt Sam and Fred. 6 00:00:24,910 --> 00:00:32,080 The third variable is named combined this variable will store the element values of both arrays using 7 00:00:32,080 --> 00:00:37,040 the concatenated to output these values. 8 00:00:37,040 --> 00:00:40,310 We can use our get element by I.D. output method 9 00:00:45,330 --> 00:00:50,170 let's go ahead and preview this file in our web browser to see what the output looks like. 10 00:00:54,220 --> 00:00:59,880 Here we can see that the elements of both arrays have been output ID as we intended.