initialize empty array in angular code example Example: initialize empty array typescript let temp: Criminal[] = [];