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 b97ec21 commit 396c8a2Copy full SHA for 396c8a2
src/Stack/index.js
@@ -9,7 +9,7 @@ const stack = new Stack();
9
stack.push(1);
10
stack.push(2);
11
stack.push(3);
12
-console.log(stack);
+console.log(stack.items); //--> [1, 2, 3]
13
14
// pop() 测试
15
console.log(stack.pop()); //--> 3
0 commit comments