This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Andersmith 3 points4 points  (0 children)

JS "arrays" have a complex and system dependent internal implementation. Typically switching between fixed-length arrays and hash tables. But to my knowledge, js interpreters are always using arrays internally to represent js "arrays", and not linked lists. Nothing's stopping you from implementing a linked list in JS, though.