This has nothing to do with prefixing and suffixing the ++ an -- operators. I am saying that, when you initialize the index to 0, when the condition (index++ < players.length-1) is executed the value of index becomes 1 and the first element of the array is skipped.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This has nothing to do with prefixing and suffixing the ++ an -- operators. I am saying that, when you initialize the index to 0, when the condition
(index++ < players.length-1)
is executed the value of index becomes 1 and the first element of the array is skipped.