theory-examples
    Preparing search index...

    Function sub

    • Substracts two numbers

      Parameters

      • firstNumber: number

        Consists of the first operand of the substraction

      • secondNumber: number

        Consists of the second operand of the substraction

      Returns number

      The substraction of the two numbers firstNumber and secondNumber

      sub(1, 7) = -6