We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 591af89 commit c01b095Copy full SHA for c01b095
src/implementation/ArbitrarySizeDeque.js
@@ -1,4 +1,5 @@
1
import Deque from './Deque.js';
2
+import {NotImplementedError} from '@aureooms/js-error';
3
4
/**
5
* ArbitrarySizeDeque.
@@ -25,6 +26,17 @@ ArbitrarySizeDeque.prototype.values = function* () {
25
26
}
27
};
28
29
+/**
30
+ * ArbitrarySizeDeque.prototype._popindex.
31
+ *
32
+ * @param {any} _container
33
+ * @param {Number} _index
34
+ * @return {any}
35
+ */
36
+ArbitrarySizeDeque.prototype._popindex = function (_container, _index) {
37
+ throw new NotImplementedError('_popindex');
38
+};
39
+
40
ArbitrarySizeDeque.prototype.pop = function () {
41
const [container, index] = this._where(this.length - 1);
42
0 commit comments