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)
Then
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)
Then