Skip to content

Commit c01b095

Browse files
🩹 fix(ArbitrarySizeDeque): Add signature for _popindex.
1 parent 591af89 commit c01b095

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/implementation/ArbitrarySizeDeque.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import Deque from './Deque.js';
2+
import {NotImplementedError} from '@aureooms/js-error';
23

34
/**
45
* ArbitrarySizeDeque.
@@ -25,6 +26,17 @@ ArbitrarySizeDeque.prototype.values = function* () {
2526
}
2627
};
2728

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+
2840
ArbitrarySizeDeque.prototype.pop = function () {
2941
const [container, index] = this._where(this.length - 1);
3042

0 commit comments

Comments
 (0)