- 1
JS line 48 error. It is not deleting the element from the array.
This is my code: https://codepen.io/AlexTAG/pen/dyzrrmY?editors=0010 So at js line 48, i am deleting an element of type Fish from the array fList inside the class FishList but it is not working and I don't understand why. I have tried to fix it but it is not working. Help.
1 Odpowiedź
0
Cos splice syntax is array.splice(INDEX, 1)