Angular - Reactive Forms
Why does this code throw an error?
const fa = new FormArray([]);
fa.removeAt(5);
const fa = new FormArray([]);
fa.removeAt(5);
removeAt(5) on an empty array causes an error because that index does not exist.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions