Code coverage report for lib/dataStructures/stack.js

Statements: 100% (7 / 7)      Branches: 100% (0 / 0)      Functions: 100% (2 / 2)      Lines: 100% (7 / 7)      Ignored: none     

All files » lib/dataStructures/ » stack.js
1 2 3 4 5 6 7 8 9 10 11 12 131   1 60     1   1 118     1
var stackQueue = require("./stackQueue.js");
 
var stack = function() {
	stackQueue.apply(this, arguments);
};
 
stack.prototype = new stackQueue();
 
stack.prototype.getNext = function() {
	 return this.list.end.data;
}
 
module.exports = stack;