Skip to content

Commit f72c259

Browse files
committed
shift and unshift, array methods
1 parent 8d4e80f commit f72c259

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

topics/about_arrays.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ test("queue methods", function() {
3838
queue.push("second");
3939
queue.unshift("third");
4040

41-
equals(queue.shift(), "third", 'what will be shifted out first?');
42-
equals(queue.shift(), "first", 'what will be shifted out second?');
41+
equals(queue.shift(), "__", 'what will be shifted out first?');
42+
equals(queue.shift(), "__", 'what will be shifted out second?');
4343
});

0 commit comments

Comments
 (0)