Concat() method is used for joining two or more arrays.
var name = ["ram", "sham"];
var first = ["singh", "chand", "gupta"];
var last = ["KodLogs"];
var children = name.concat(first, last);
ram, sham,singh, chand, gupta, KodLogs