Better HN
top
new
best
ask
show
jobs
Log in
Sign up
nopenopenope8
1 karma · joined Aug 21, 2017 (9y ago) · 1 submissions
Submissions
comment 9y ago ·
link
·
parent
This is incorrect. Arrays are implemented as a type of object, but you shouldn't worry about that. Hashmaps and arrays both have ~O(1) random indexing. If you need an array, don't use an object.