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 bea811c commit 05e701bCopy full SHA for 05e701b
chapter03/3.1 - Three in One/threeInOne.js
@@ -44,12 +44,12 @@ ThreeInOne.prototype.pop2 = function() {
44
return answer;
45
};
46
47
-ThreeInOne.prototype.pop3 = function(value) {
+ThreeInOne.prototype.pop3 = function() {
48
if (this.isEmpty3()) {
49
return undefined;
50
}
51
52
- return this.container.pop(value);
+ return this.container.pop();
53
54
55
ThreeInOne.prototype.peek1 = function() {
0 commit comments