1const array1 = ['a', 'b', 'c'];
2const array2 = ['d', 'e', 'f'];
3const array3 = array1.concat(array2);
1//Use push() method
2//Syntax:
3array_name.push(element);
4//Example:
5let fruits = ["Mango", "Apple"];
6//We want to append "Orange" to the array so we will use push() method
7fruits.push("Orange");
8//There we go, we have successfully appended "Orange" to fruits array!