Linked list in js.