It seems, if I'm not mistaken, due to the fact that Javascript processes objects, it is impractical or inefficient for implementing linked lists.
I need a data structure in which I could easily perform 2 operations (except indexing), add to the end and delete (pop out) an object at a given index.
Uses Array and "recreates" it for each operation of removal the optimal solution? I would not have thought.
Any ideas?
javascript arrays
Manux
source share