Commit 3757219
Adjust sample code so it makes more sense
In order for the following line, pop(), to return "employeeB", employeeB needs to be on the "top" of the stack, meaning the splice should remove employeeC at index 2. :)1 parent 8620aa0 commit 3757219
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6931 | 6931 | | |
6932 | 6932 | | |
6933 | 6933 | | |
6934 | | - | |
| 6934 | + | |
6935 | 6935 | | |
6936 | 6936 | | |
6937 | 6937 | | |
| |||
0 commit comments