export function addNTimes(array: T[], toAdd: T, times: number) { for (let i=0; i