Skip to content

Commit 004b3d6

Browse files
📝 typo(Deque#capacity): Fix error message.
1 parent c01b095 commit 004b3d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/implementation/Deque.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Deque.prototype.len = function () {
2020
* @return {Number}
2121
*/
2222
Deque.prototype.capacity = function () {
23-
throw new NotImplementedError('capcity');
23+
throw new NotImplementedError('capacity');
2424
};
2525

2626
/**

0 commit comments

Comments
 (0)