© 2026 Hedgehog Software, LLC
node.next = curr; node.prev = curr.prev; curr.prev = node; if (curr.prev) { curr.prev.next = node; }