0

I have tried to remove all li elements from ul but it only deleted even index li elements. Later on i appended i--; to code and it worked. Why? (VS code)

enter image description here

Then

enter image description here

0 Answers0