Arrays are stored in a linear fashion, with memory cells of fixed size for each element. To have fixed sized memory cells Arrays should be homogenious. So in Arrays we get an Nth element by skipping certain amount of bits (defined by element type) N times.
But what about lists? Or heterogenious arrays like we have in JavaScript? How are they stored in memory. And how does accessing a certain element work with lists?