You can concat array in JavaScript or cancat means you can say merge two variables. For example-

var arr1 = [‘A’,’B’,’C’];

var arr2 = [‘D’,’E’];

var result = arr1.concat(arr2);


News Reporter
IT Software and web development, Core PHP, JavaScript, JQuery, HTML, CSS, CakePHP, Angularjs, Codeigniter etc.

6 thoughts on “Javascript Concat two array

Leave a Reply

Your email address will not be published. Required fields are marked *