No.
What JavaScript arrays are and aren't is determined by the language specification specifically section 15.4. Array
is defined in terms of the operations it provides not implementation details of the memory layout of any particular data structure.
Could Array
be implemented on top of a linked list? Yes. This might make certain operations faster such as shift
and unshift
efficient, but Array
also is frequently accessed by index which is not efficient with linked lists.
It's also possible to get the best of both worlds without linked lists. Continguous memory data structures, such as circular queues have both efficient insertion/removal from the front and efficient random access.
In practice, most interpreters optimize dense arrays by using a data structure based around a resizable or reallocable array similar to a C++ vector
or Java ArrayList
.