Pārlūkot izejas kodu

Remove unused function

ApisNecros 1 gadu atpakaļ
vecāks
revīzija
be483cc21f
1 mainītis faili ar 0 papildinājumiem un 11 dzēšanām
  1. 0 11
      IntComp/Stack.js

+ 0 - 11
IntComp/Stack.js

@@ -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
      *