Your JavaScript Array is a Hash Map in Disguise
TL;DR: JavaScript arrays are fundamentally objects where integer keys are treated as strings. To save performance, engines like V8 attempt to optimize these into contiguous memory blocks (Elements Kin
doogal.dev5 min read