Ver Fonte

Fix typos in comments

ApisNecros há 1 ano atrás
pai
commit
7b4074a138
1 ficheiros alterados com 3 adições e 3 exclusões
  1. 3 3
      IntComp/ComputerParameterMode.js

+ 3 - 3
IntComp/ComputerParameterMode.js

@@ -5,14 +5,14 @@ module.exports = {
      * Position Mode
      *
      * When the int computer is in Position mode, the value at the pointer
-     * is interpretted as another address in memory.
+     * is interpreted as another address in memory.
      */
     POSITION_MODE: 0,
     /**
      * Immediate Mode
      *
      * When the int computer is in Immediate Mode, the value at the pointer
-     * is interpretted as its literal value.
+     * is interpreted as its literal value.
      */
     IMMEDIATE_MODE: 1,
     /**
@@ -28,7 +28,7 @@ module.exports = {
      *
      * @param {number} rawOpcode The opcode in memory
      * @param {number} parameterIndex The index of the parameter in the function arguments
-     * @returns {number} Either POSITION_MODE or IMMEDITATE_MODE
+     * @returns {number} Either POSITION_MODE or IMMEDIATE_MODE
      */
     ParseParameterMode: function (rawOpcode, parameterIndex) {
         if (DecimalPlaceIsNonZero(rawOpcode, parameterIndex + 1)) { return this.IMMEDIATE_MODE; }