typescript array append code example
Example 1: javscript append item from array
let foo = ['oop','plop','copo'];
foo.push("plop");
Example 2: how to add an element to a Typescript array
your_array.push(the_element);
Example 3: javascript append list
var fruits = ["Banana", "Orange", "Apple", "Mango"];
fruits.push("Kiwi");