concat : the concat method appeends element to the end of the array on which ir is invoked . to use it , you supply the concat() method with arguments containing the items to append . the method returns a new array
var arr = [51,67]
var arr1 =[18,"hi",123]; var arr3 = arr.concat(arr2) console.log(arr3)