Use the concat() method to concatenate two arrays: girls and boys.
var girls = ["Oracle", "Jerry"]; var boys = ["Json", "Jack", "Tom"];
Syntax hint
array1.concat(array2)
var girls = ["Oracle", "Jerry"]; var boys = ["Json", "Jack", "Tom"]; var children = girls.concat(boys); console.log( children );/* w w w .j a v a 2 s .com*/