I want to understand if there exists a list/Array in JavaScript as opposed to an Array like Object. If there are some resources or info on this I would love that.
So to my understanding, arrays in JavaScript are just objects with the index of the array being a key in the object. But objects are hash maps correct? In which case hash maps takes a key, hashes it to a index and then stores that value at the index in a list/array. This way if we ever need to access a key in the object, we can easy hash the key and go to the array to access the value in constant time. But arrays don't really exist in JavaScript, so is there some array/list like data structure under the hood in JavaScript that we just don't have access to?