This commit is contained in:
nim-ka
2022-03-03 22:33:38 -05:00
parent 8e9da36c14
commit 053fced524
2 changed files with 2 additions and 2 deletions

2
dll.js
View File

@@ -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) {

2
out.js
View File

@@ -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) {