We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7868536 + 2a89e21 commit a641eb2Copy full SHA for a641eb2
chapter05/05-CircularLinkedList2.js
@@ -133,8 +133,8 @@ let CircularLinkedList2 = (function () {
133
134
remove(element) {
135
136
- let index = indexOf(element);
137
- return removeAt(index);
+ let index = this.indexOf(element);
+ return this.removeAt(index);
138
}
139
140
indexOf(element) {
@@ -198,4 +198,4 @@ let CircularLinkedList2 = (function () {
198
199
200
return CircularLinkedList2;
201
-})();
+})();
0 commit comments