how to declare an empty array in typescript code example
Example 1: initialize empty array typescript
let temp: Criminal[] = [];
Example 2: create an empty array js
let arrayName = [];
let temp: Criminal[] = [];
let arrayName = [];