.
This commit is contained in:
2
dll.js
2
dll.js
@@ -10,7 +10,7 @@ class DLLNode {
|
||||
this.next = next
|
||||
}
|
||||
|
||||
adv(n) {
|
||||
adv(n = 1) {
|
||||
let node = this == this.skip ? this.next : this
|
||||
|
||||
if (n < 0) {
|
||||
|
||||
Reference in New Issue
Block a user