typescript insert an array to array code example
Example 1: how to add an element to a Typescript array
your_array.push(the_element);
Example 2: typescript array insert
const months = ['Jan', 'March', 'April', 'June'];
months.splice(1, 0, 'Feb');