@@ -218,9 +218,20 @@ class Stack {
this.register = null;
}
+ /**
+ * Wrapper function for Array.prototype.push
+ * @param {*} newValue
+ */
Push(newValue) {
this.stack.push(newValue);
+ * Wrapper function for Array.prototype.pop
+ * @returns {*}
+ Pop() {
+ return this.stack.pop();
+ }
/**
* Implement }