Skip to content

Commit 1bfaf57

Browse files
committed
Minor bug fixed
1 parent d3caaea commit 1bfaf57

File tree

4 files changed

+0
-16
lines changed

4 files changed

+0
-16
lines changed

Data Structure/Queue/Queue.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ function Queue() {
2121
this.isEmpty = function() {
2222
return items.length === 0;
2323
}
24-
25-
this.printAll = function() {
26-
console.log(items.toString());
27-
}
2824
}
2925

3026
/**************** Testing the Queue ***************/

Data Structure/Queue/es6/Queue.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ class Queue {
2222
isEmpty() {
2323
return this._items.length === 0;
2424
}
25-
26-
printAll() {
27-
console.log(this._items.toString());
28-
}
2925
}
3026

3127
module.exports = Queue; //exporting the Queue module using CommonJS Module format

Data Structure/Stack/Stack.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ function Stack() {
2121
this.isEmpty = function() {
2222
return items.length === 0;
2323
}
24-
25-
this.printAll = function() {
26-
console.log(items.toString());
27-
}
2824
}
2925

3026
/***************** Testing the Stack ***************/

Data Structure/Stack/es6/Stack.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ class Stack {
2222
isEmpty() {
2323
return this._items.length === 0;
2424
}
25-
26-
printAll() {
27-
console.log(this._items.toString());
28-
}
2925
}
3026

3127
module.exports = Stack; //exporting the Stack module using CommonJS Module format

0 commit comments

Comments
 (0)