|
@@ -83,17 +83,6 @@ module.exports = class Stack {
|
|
|
return value ?? 0;
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * Use the value at the current pointer to get a value at another position
|
|
|
- *
|
|
|
- * This is essentially shorthand for `stack.Get(stack.Get())`
|
|
|
- *
|
|
|
- * @returns {number} The value at the index given by the pointer's current position
|
|
|
- */
|
|
|
- GetUsingStackValue() {
|
|
|
- return this.Get(this._stack[this.pointer]);
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* Push a new value onto the end of the stack
|
|
|
*
|