array appned code example
Example 1: js add element to array
var fruits = [ "Orange", "Apple", "Mango"];
fruits.push("Banana");
Example 2: javascript append array to end of array
const new_array = old_array.concat([value1[, value2[, ...[, valueN]]]])