File tree Expand file tree Collapse file tree 4 files changed +0
-16
lines changed Expand file tree Collapse file tree 4 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,6 @@ function Queue() {
21
21
this . isEmpty = function ( ) {
22
22
return items . length === 0 ;
23
23
}
24
-
25
- this . printAll = function ( ) {
26
- console . log ( items . toString ( ) ) ;
27
- }
28
24
}
29
25
30
26
/**************** Testing the Queue ***************/
Original file line number Diff line number Diff line change @@ -22,10 +22,6 @@ class Queue {
22
22
isEmpty ( ) {
23
23
return this . _items . length === 0 ;
24
24
}
25
-
26
- printAll ( ) {
27
- console . log ( this . _items . toString ( ) ) ;
28
- }
29
25
}
30
26
31
27
module . exports = Queue ; //exporting the Queue module using CommonJS Module format
Original file line number Diff line number Diff line change @@ -21,10 +21,6 @@ function Stack() {
21
21
this . isEmpty = function ( ) {
22
22
return items . length === 0 ;
23
23
}
24
-
25
- this . printAll = function ( ) {
26
- console . log ( items . toString ( ) ) ;
27
- }
28
24
}
29
25
30
26
/***************** Testing the Stack ***************/
Original file line number Diff line number Diff line change @@ -22,10 +22,6 @@ class Stack {
22
22
isEmpty ( ) {
23
23
return this . _items . length === 0 ;
24
24
}
25
-
26
- printAll ( ) {
27
- console . log ( this . _items . toString ( ) ) ;
28
- }
29
25
}
30
26
31
27
module . exports = Stack ; //exporting the Stack module using CommonJS Module format
You can’t perform that action at this time.
0 commit comments