Answer the question
In order to leave comments, you need to log in
How to properly remove elements from an array?
Tell me how to correctly remove elements from the array:
Clicked on the removal of the last element in the list: GUAVA 1 kg. Here is a screenshot from the debugger:
The function returned an array by deleting the position of PITAHAYA 1 kg. not GUAVA 1 kg.
Where is the mistake?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question