Arrays in a language like C have certain non-functional characteristics, like O(n)
insertion and deletion.
But C operates on the bare metal, allocating contiguous bytes of memory.
In JavaScript, what is an Array
?
Is it an implementation-defined data-structure with similar non-functional characteristics to those of C? Could Array
actually be a linked-list under the hood?
If so, does that make user-land linked-list libraries redundant?