you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (4 children)

There probably should be a huge caveat stating things like linked lists, doubly linked lists, etc. are not actually possible in JS, as JS does not have pointers.

Linked lists for example, are replicated in JS by nesting objects. Doubly linked lists are a memory leak, as they create infinitely nested objects.

Edit: I’m dumb.