📅  最后修改于: 2022-03-11 15:01:53.935000             🧑  作者: Mango
const arr = new FormArray([
new FormControl(),
new FormControl()
]);
console.log(arr.length); // 2
arr.clear();
console.log(arr.length); // 0