Arrays are objects in JavaScript, their keys are the index. They just have an iterator. So both arrays and objects use the key value data structure they're not different in that respect.
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.
Arrays are objects in JavaScript, their keys are the index. They just have an iterator. So both arrays and objects use the key value data structure they're not different in that respect.