ts insert into array code example Example: typescript array insert const months = ['Jan', 'March', 'April', 'June']; months.splice(1, 0, 'Feb');