Skip to content

@datastructures-js/linked-list-v3.0.0

Choose a tag to compare

@eyas-ranjous eyas-ranjous released this 31 Dec 07:30
· 186 commits to master since this release
986e0a2

[3.0.0] - 2020-12-30

Changed

  • .insertAt(position, value) position now comes first then value.
  • .insert* methods now returns a this reference so it can be chained.
  • .forEach(cb) callback now gets called with node and position (starting from 0);
  • .forEachReverse(cb) callback now gets called with node and position (starting from size -1);
  • LinkedListNode & DoublyLinkedListNode classes are now exported in index.