angular create empty array code example
Example 1: initialize empty array typescript
let temp: Criminal[] = [];
Example 2: javascript empty array
var colors = ["red","blue","green"];
colors = []; //empty the array
let temp: Criminal[] = [];
var colors = ["red","blue","green"];
colors = []; //empty the array