📅  最后修改于: 2022-03-11 14:48:12.951000             🧑  作者: Mango
const array: Array = new Array();
array.push(1);
array.push(2);
array.push(3);
array.push(4);
// has now 4 elemnts
array = [];
// has now 0 elements