1 2 3 4 5 6 7 8 9 10 11 12 13 | 1 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; |