I kept flipping index and value (and forgetting about array, honestly). But that order does make a lot more sense since the index and array aren't needed for everything.
Thanks for mentioning that by the way. I guess they would've done that for consistency and ease of use.
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.
I kept flipping
indexandvalue(and forgetting aboutarray, honestly). But that order does make a lot more sense since theindexandarrayaren't needed for everything.Thanks for mentioning that by the way. I guess they would've done that for consistency and ease of use.